(or bug in code)
In the documentation for the dhtmlxToolbar
[url]Handling Events DHTMLX Docs
It says you can initiate the toolbar like this:
myToolbar = new dhtmlXToolbarObject({
parent:"a_toolbar",
onClick:function(){
alert("Toolbar item was clicked");
}
});
This doesn’t work. The object passed to the constructor gets overwritten without the onClick method being used.
dhtmlxSuite 4.0.3 Professional