From be6bff8d2e6a77e37aba19fed580059d362b07db Mon Sep 17 00:00:00 2001 From: christian studer Date: Wed, 10 Nov 2010 11:10:48 +0100 Subject: [PATCH] Adds _updateCount() to the insert and remove events. --- js/ui.multiselect.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui.multiselect.js b/js/ui.multiselect.js index 6829049..7ae57a7 100644 --- a/js/ui.multiselect.js +++ b/js/ui.multiselect.js @@ -727,6 +727,7 @@ $.widget("ui.multiselect", { // ignore if busy... if (!this.busy) { that._setSelected($(this).parent(), true); + that._updateCount(); } return false; }); @@ -753,6 +754,7 @@ $.widget("ui.multiselect", { // ignore if busy... if (!that.busy) { that._setSelected($(this).parent(), false); + that._updateCount(); } return false; });