Categories | Question details Back To List | ||
Dhtmlxtoolbar error on disableItem method Hi, I use DhtmlxToolbar and when I disable an item afer loading I have error "this.objPull[...] is null or not an object" only with Internet Explorer (with FF is OK). var toolbar = new dhtmlXToolbarObject("toolbar"); toolbar.setIconsPath("../ressources/images/toolbar/"); toolbar.loadXML("../data/dhtmlxtoolbar.xml"); toolbar.disableItem("debut"); Answer posted by Support on Nov 26, 2008 09:24 Hello, Possible reason: you disable item before ajax has been completely loaded. Possible solutions: 1. Using onLoadFunction toolbar.loadXML("/file.xml", function(){ toolbar.disableItem("debut"); }); 2. Disable item directly in XML: http://dhtmlx.com/docs/products/docsExplorer/doc/dhtmlxxml/xmlToolbar2.html |