View Full Version : Double Fire Event in Menus

28 Sep 2009, 7:41 AM
I am using extjs version 3.0. I inserted menus into the accordion layout. The menus works fine with one exception. When I double click a menu it fires two click events. Is there a way to disable multiple fire events?

28 Sep 2009, 12:29 PM
If you're specifying a handler function, you'll want to not do that... The default handler is click for menu items so if you click twice, it will fire twice.

It doesn't look like dblclick is a registered event for menu items (http://www.extjs.com/deploy/dev/docs/output/Ext.menu.Item.html). There is the "ondblclick" event in the dom that you can use though.