Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Micha Hastrich on Oct 26, 2009 01:06
open dhtmlx forum
dhxtabbar.getLabel(utabid)

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);



Answer posted by Alex (support) on Oct 26, 2009 07:55

Hello,

please contact us at support@dhtmlx.com and we send you the fixed version.