r2769 - fixed bug in closeothers - use this instead of self
Author: scottjehl
Date: Mon Jun 15 09:22:55 2009
New Revision: 2769
Modified:
branches/labs/selectmenu/ui.selectmenu.js
Log:
fixed bug in closeothers - use this instead of self
Modified: branches/labs/selectmenu/ui.selectmenu.js
==============================================================================
--- branches/labs/selectmenu/ui.selectmenu.js (original)
+++ branches/labs/selectmenu/ui.selectmenu.js Mon Jun 15 09:22:55 2009
@@ -317,7 +317,7 @@
this.list.removeClass('ui-selectmenu-open');
if(this.options.style == "dropdown"){
this.newelement.removeClass('ui-corner-top').addClass('ui-corner-all'); }
if(retainFocus){this.newelement.focus();}
- else{ self.newelement.blur(); }
+ else{ this.newelement.blur(); }
return this.element;
},