Hi,
problem occurs in 2.5 Pro (doesn’t in 2.1):
dhxtabbar.addTab(“tab0”,“text”);
[…]
tabtext1 = dhxtabbar.getLabel(“tab0”).trim();
dhxtabbar.removeTab(“tab0”,true);
Doesn’t work.
Error message:
id is not defined
[Break on this error] getLabel:function(tab){return this._tabs[id].firstChild.innerHTML}, \r\n
Only working when i comment getLabel out:
dhxtabbar.addTab(“tab0”,“text”);
[…]
//tabtext1 = dhxtabbar.getLabel(“tab0”).trim();
dhxtabbar.removeTab(“tab0”,true);