aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/js/LocalStorageCache.js
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2014-11-30 17:42:18 +0000
committermistic100 <mistic@piwigo.org>2014-11-30 17:42:18 +0000
commitbd4ff9fe713ed0b9ee122cf7812939f794c601d8 (patch)
tree9222fabf6bdcecde47a1c507862e10bd45a7de6e /admin/themes/default/js/LocalStorageCache.js
parent966b6e6ac1b708e4d81def52e83197ba50a0cfc3 (diff)
Merged revision(s) 30630 from trunk:
bug 3183: Improve album creation update popup selectize with new album init popup selectize with main selectize value git-svn-id: http://piwigo.org/svn/branches/2.7@30633 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/js/LocalStorageCache.js')
-rw-r--r--admin/themes/default/js/LocalStorageCache.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/themes/default/js/LocalStorageCache.js b/admin/themes/default/js/LocalStorageCache.js
index e585e2acd..55e4b36fb 100644
--- a/admin/themes/default/js/LocalStorageCache.js
+++ b/admin/themes/default/js/LocalStorageCache.js
@@ -94,6 +94,8 @@
* must return new data
*/
AbstractSelectizer.prototype._selectize = function($target, globalOptions) {
+ $target.data('cache', this);
+
this.get(function(data) {
$target.each(function() {
var filtered, value, defaultValue,