View Full Version : [Solved] Panels Tabs Re-use

17 Jun 2010, 8:11 AM
There are 4 panels which are added to tab layout. First time, an user visits the page, he sees a form panel on 1st panel. When the user submits the form, he is taken to the same page - except on the 1st panel, now, a chart is shown.

Other 3 panels are not changed at all. But, doLayout() on the tab causes the following error:
c.getPositionEl().dom is undefined
return target && c.getPosition...parentNode == (target.dom || target);
ext-all-debug.js (line 12170)

I have tried debugging it with Firebug and I can confirm it happens when a new panel gets added after the 1st panel is added to the tab and doLayout() is called.

Any suggestions are appreciated.


17 Jun 2010, 11:10 AM
Problem happens to be as described in this post: