jQueryUI selectmenu refresh bug
Hi all ,
Found a bug in the selectmenu button event handler management. It is almost unnoiticeable, but causes unneded memory/cpu consumption , i.e slow downs etc ..
Basically , if I initialize a selectmenu , an appropriate button is created automatically with some event handlers attached to it .
That is fine , but if I call selectmenu("refresh") multiple times then - I see the number of remove() event handlers attached to the button increases. Each time I call refresh the button gets extra remove() event handlers - looks like the number of extra handlers == the number of menu options ...
Regards,
Alex