summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorDan Lee <dan@leesolutions.net>2011-11-28 10:38:24 -0800
committerDan Lee <dan@leesolutions.net>2011-11-28 10:38:24 -0800
commit72c49c4fa55665222c69d042574cf9c416e17f2c (patch)
tree245b91e94d4ce19586c7a9dbf923c103875eaf0e /js
parent2329db15ab4f38750bad2551011a59995a3acfd0 (diff)
downloadmulti-select-72c49c4fa55665222c69d042574cf9c416e17f2c.zip
multi-select-72c49c4fa55665222c69d042574cf9c416e17f2c.tar.gz
multi-select-72c49c4fa55665222c69d042574cf9c416e17f2c.tar.bz2
Retain original options at refresh.
Diffstat (limited to 'js')
-rw-r--r--js/jquery.multi-select.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/jquery.multi-select.js b/js/jquery.multi-select.js
index f89147c..408e0f1 100644
--- a/js/jquery.multi-select.js
+++ b/js/jquery.multi-select.js
@@ -90,7 +90,7 @@
},
'refresh' : function() {
$("#ms-"+$(this).attr("id")).remove();
- $(this).multiSelect("init");
+ $(this).multiSelect("init", $(this).data("settings"));
},
'select' : function(value, method){
var ms = this,