diff options
author | lou <louiscuny@gmail.com> | 2013-05-24 13:12:25 +0200 |
---|---|---|
committer | lou <louiscuny@gmail.com> | 2013-05-24 13:12:25 +0200 |
commit | ae7a170e6b98f99f8d4bce8884b3fe1b0617fe62 (patch) | |
tree | 9d27a4ddfb70bc7d3f6f2273f679b38162ea4920 /js | |
parent | 3a2fd52c728cea87a13939d67ebe994464b30fff (diff) | |
download | multi-select-ae7a170e6b98f99f8d4bce8884b3fe1b0617fe62.zip multi-select-ae7a170e6b98f99f8d4bce8884b3fe1b0617fe62.tar.gz multi-select-ae7a170e6b98f99f8d4bce8884b3fe1b0617fe62.tar.bz2 |
try to fix refresh method. Tests needed
Diffstat (limited to 'js')
-rw-r--r-- | js/jquery.multi-select.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/jquery.multi-select.js b/js/jquery.multi-select.js index f2b3518..54f8ed4 100644 --- a/js/jquery.multi-select.js +++ b/js/jquery.multi-select.js @@ -291,7 +291,8 @@ 'refresh' : function() { $("#ms-"+this.$element.attr("id")).remove(); - this.init(this.options); + this.$element.removeData('multiselect'); + this.$element.multiSelect(this.options); }, 'select' : function(value, method){ |