PDA

View Full Version : Resizables lost connection with element



bereal
19 Apr 2007, 3:10 AM
Okay, another question from the newbie :)

I have DIV, absolute position. Then, I initialize Ext.Resizable to it. Everything works fine.

But, when I move that DIV to another place at the page (actually, with method alignTo) - it moves, but Resizable tools do not. They just left at old place.

How am I supposed to strictly connect them? Are there any other ways to resolve my problem?

For now, after moving I am force to destroy old Ext.Resizable and create new ones. But this way seems very bad for me, especially that Ext.Resizable.destroy doesn't remove created div`s from DOM

bereal
19 Apr 2007, 3:30 AM
Found the bug - it was restricted to update innerHTML of that DIV :)