User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 I have <listbox suppressonselect='true'/>. Listbox have selected child. When I remove all childs of listbox then 'select' event is fired. As usually select event is fired by _fireOnSelect() method of listbox binding. But I guess 'select' event is fired by someone else when items are removed. I think it would be more gracefully if 'select' event will be fired by _fireOnSelect() method only. If such way isn't acceptable then event fierer should look at 'suppressonselet' attribute. Reproducible: Always
At all related to bug 135172?
The event is fired by nsXULElement::RemoveChildAt http://lxr.mozilla.org/seamonkey/source/content/xul/content/src/nsXULElement.cpp#1114