partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 79b646bf4308bef5b938c0068c502023c5ba2fca
parent 0919df20c5b360e23bd2e7c741c2e3f802af40bc
Author: Timo A. Hummel <felicitus@felicitus.org>
Date:   Mon, 25 Apr 2016 11:57:55 +0200

Merge pull request #654 from partkeepr/PartKeepr-652

Force save on a newly created user preference, fixes #652
Diffstat:
Msrc/PartKeepr/FrontendBundle/Resources/public/js/PartKeepr.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/PartKeepr.js b/src/PartKeepr/FrontendBundle/Resources/public/js/PartKeepr.js @@ -367,7 +367,7 @@ Ext.application({ var j = new PartKeepr.AuthBundle.Entity.UserPreference(); j.set("preferenceKey", key); j.set("preferenceValue", value); - + j.save(); this.userPreferenceStore.add(j); } },