cancelBubble onclick toolbar item

Dear Support,



How can I cancelBubble by pressing on toolbar item in FireFox?



Thanks in advanced,

Please explain your question in detail.

The events that have been produced by the toolbar buttons can be catched by “window.event” in chrome and ie but firefox doesn’t have window.event object. Because it’s event structure is different from others.

But the event bubble can be cancelled with this way in dhtmlxtoolbar.

toolbar.objPull[toolbar.idPrefix+id].obj.onclick.arguments[0].cancelBubble = true;