DHTMLXTabbar: Content is set to javascript:false

I have a tabbar:

this.ontgTabbar = new dhtmlXTabBar("configureONTGTabbar");
		this.ontgTabbar.setImagePath("/webnms/dhtmlx3.0/dhtmlxTabbar/codebase/imgs/");
		this.ontgTabbar.preventIECashing(true);
		this.ontgTabbar.setSkinColors("white","#FFFACD");
		this.ontgTabbar.setStyle("modern");
		this.ontgTabbar.enableAutoReSize(true);
		this.ontgTabbar.setHrefMode("iframe");
		this.ontgTabbar.addTab("VoIP", "VoIP config");
		this.ontgTabbar.addTab("IP", "IP config");
		this.ontgTabbar.addTab("Location", "Location");
		this.dhcpOption = new dhtmlXCombo("T_DHCPOption", "DHCPOption", 150);
		this.dhcpOption.addOption("Enable", "Enable");
		this.dhcpOption.addOption("Disable", "Disable");
		this.ontgTabbar.setContent("VoIP","configureVoIPMain");
		this.ontgTabbar.setContent("IP","configureIPMain");
		this.ontgTabbar.setContent("Location","configureLocationMain");

I don’t have to do anything specific on select other than just select the relevant tab. However, this default selection is not working for me.

On tab select, the content for old tab is set to javascript:false here:

b.hide=function(){
c._s.hide?(this.style.visibility="",this.style.display="none"):this.style.visibility="hidden";this.style.zIndex=-1;c._hrfmode=="iframe"&&this.attachURL("javascript:false")};

On reselection of an old tab, the content is not reattached. Is this a bug?

unfortunately the stated code cannot be found in the sources of the dhtmlx. Could you please, provide with a complete demo, or share with a demo link, where the problem can be reconstructed locally.

Hi,

The extracted code is from dhtmlxtabbar.js for dhtmlx3.0. Apologies for delayed reply. To overcome the issue, I used:

this.ontgTabbar.setHrefMode("iframe"); this.ontgTabbar._hrfmode = null;
in initialization. It solved my issue, after this work-around.