too much recursion error - please help

Hello All,



I need urgent help!!!



I have a layout with type 2U, in one of the windows i have a tabber with anther layout attached ( 1C )

when i try to had to that layout a new tabber i get too much recursion error. ( i gave that tabber new id )



the error occurs on this.setSize(w,h,false);if (this.wins)for (var i in this.wins)if (…





Please help



Thanks

Ram

Please provide the code snippet, used for init tabbars and layuot in problematic case ( if you have some kind of sample or demo link - you can send it directly to support@dhtmlx.com )

html code



layout code

var dhxLayout = new dhtmlXLayoutObject(“parentId”, “2U”, “dhx_blue”);

var dhxTabbar = dhxLayout.cells(“b”).attachTabbar(“tabbar_1”);
dhxTabbar.enableTabCloseButton(true);
dhxTabbar.setAlign(“right”);
dhxTabbar.addTab(“test_tab”,“test_tab_name”,“200px”);

//Until here it’s working fine 2 windows the second 1 with a tab called test tab

var properties_layout = new dhtmlXLayoutObject(dhxTabbar.cells(“test_tab”), “2U”);

//Create layout of 2U inside the test tab

the problem occurs now when i want to add a tabber to one of the new layout windows.

properties_layout.cells(“b”).attachTabbar(“tabbar_2”)  // doesn’t work

Hope it will help
Tanks
Ram







Please use attached js file instead of original one.
dhtmlxtabbar_wins.zip (602 Bytes)

Thank you very much, it’s working…