From 8b271ae39fad7817dba571c3c562a2de5042ebbd Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Thu, 26 Aug 2010 23:41:58 +0200 Subject: [PATCH] fixed: remove click event --- ui/jquery.ui.selectmenu.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 86a258d47..a3965fef1 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -325,7 +325,8 @@ $.widget("ui.selectmenu", { destroy: function() { this.element.removeData(this.widgetName) .removeClass(this.widgetBaseClass + '-disabled' + ' ' + this.namespace + '-state-disabled') - .removeAttr('aria-disabled'); + .removeAttr('aria-disabled') + .unbind("click"); //unbind click on label, reset its for attr $('label[for='+this.newelement.attr('id')+']') -- 2.39.5