diff options
author | louis cuny <louiscuny@gmail.com> | 2013-04-12 04:20:45 -0700 |
---|---|---|
committer | louis cuny <louiscuny@gmail.com> | 2013-04-12 04:20:45 -0700 |
commit | aa1d5536de45464fc7be65f3c5370db7d4462ffc (patch) | |
tree | 983f247310d308e199805f14a0802987a904a95e /js/jquery.multi-select.js | |
parent | 1614e7208038a5855ddda259bcfd9ad7e53c313d (diff) | |
parent | 5565aeccdaca95b08448ae3c495878b3adc98707 (diff) | |
download | multi-select-aa1d5536de45464fc7be65f3c5370db7d4462ffc.zip multi-select-aa1d5536de45464fc7be65f3c5370db7d4462ffc.tar.gz multi-select-aa1d5536de45464fc7be65f3c5370db7d4462ffc.tar.bz2 |
Merge pull request #65 from hck/master
Fixed refreshing (empty selectable & selection containers etc. before init)
Diffstat (limited to 'js/jquery.multi-select.js')
-rw-r--r-- | js/jquery.multi-select.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/jquery.multi-select.js b/js/jquery.multi-select.js index 4b9352b..f23df0d 100644 --- a/js/jquery.multi-select.js +++ b/js/jquery.multi-select.js @@ -293,6 +293,10 @@ 'refresh' : function() { $("#ms-"+this.$element.attr("id")).remove(); + this.$selectableContainer.empty(); + this.$selectableUl.empty(); + this.$selectionContainer.empty(); + this.$selectionUl.empty(); this.init(this.options); }, |