summaryrefslogtreecommitdiffstats
path: root/jquery.multiple.select.js
diff options
context:
space:
mode:
authorzhixin <wenzhixin2010@gmail.com>2014-04-29 22:32:41 +0800
committerzhixin <wenzhixin2010@gmail.com>2014-04-29 22:32:41 +0800
commit474f8d8835206fc0b0d1cd7ab90aa45c56f13561 (patch)
tree485217346a31f75257e0226ef1741a2906acd7b5 /jquery.multiple.select.js
parent9f0a4ab9822e756cfeb0d1a3d4b3e5afe6885bb7 (diff)
downloadmultiple-select-474f8d8835206fc0b0d1cd7ab90aa45c56f13561.zip
multiple-select-474f8d8835206fc0b0d1cd7ab90aa45c56f13561.tar.gz
multiple-select-474f8d8835206fc0b0d1cd7ab90aa45c56f13561.tar.bz2
Fix #65: show selectAll and hide noResults when open.
Diffstat (limited to 'jquery.multiple.select.js')
-rw-r--r--jquery.multiple.select.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jquery.multiple.select.js b/jquery.multiple.select.js
index 63188cb..de1715c 100644
--- a/jquery.multiple.select.js
+++ b/jquery.multiple.select.js
@@ -215,6 +215,11 @@
this.options.isOpen = true;
this.$choice.find('>div').addClass('open');
this.$drop.show();
+
+ // fix filter bug: no results show
+ this.$selectAll.parent().show();
+ this.$noResults.hide();
+
if (this.options.container) {
var offset = this.$drop.offset();
this.$drop.appendTo($(this.options.container));