Categories | Question details Back To List | ||||||||
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 Answer posted by Support on Dec 24, 2008 02:43 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 ) Answer posted on Dec 24, 2008 02:54 html code <div id="parentId" style="position:relative; width:100%; height:100%;"></div> 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 Answer posted by Support on Dec 24, 2008 06:06 Please use attached js file instead of original one. Attachments (1)
Answer posted on Dec 24, 2008 06:13 Thank you very much, it's working... |