summaryrefslogtreecommitdiffstats
path: root/js/jquery.multi-select.js
diff options
context:
space:
mode:
authorlouis cuny <louiscuny@gmail.com>2013-04-12 04:20:45 -0700
committerlouis cuny <louiscuny@gmail.com>2013-04-12 04:20:45 -0700
commitaa1d5536de45464fc7be65f3c5370db7d4462ffc (patch)
tree983f247310d308e199805f14a0802987a904a95e /js/jquery.multi-select.js
parent1614e7208038a5855ddda259bcfd9ad7e53c313d (diff)
parent5565aeccdaca95b08448ae3c495878b3adc98707 (diff)
downloadmulti-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.js4
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);
},