PDA

View Full Version : Model panel from Modal panel error while close



Forn
15 Aug 2012, 3:08 AM
Hello.
I have two modal window. One is opening from another.

When i close second one from the first but click X tool, and after this clsoe first all is ok.
But when I close second by my button with action window.close() and after this i try to close first window I get next error. What i do wrong? default close action for all window set up to destroy.


TypeError: dom is undefined




rect = dom.getBoundingClientRect();

friend
15 Aug 2012, 6:27 AM
Can you provide a code sample please?