tome
6 Jan 2010, 8:02 PM
I have a modal window with a close button (x) on the top right, as normal. closeAction is default (destroy).
If I click on the close x but then drag off the x the window will initiate a drag. When I release the mouse, the window does not close, and any future clicks on the close x do nothing. The window cannot be closed and the page needs to be reloaded.
Using 3.1.0 and confirmed on latest Chrome and Firefox.
This does not occur for me if closeAction is 'hide'.
Update: Finally able to debug in firefox and I see that calling hide() on the Window is throwing this error:
ext-all-debug.js
h.apply is not a function
1443 function createSingle(h, e, fn, scope){
1444 return function(){
1445 e.removeListener(fn, scope);
1446 return h.apply(scope, arguments);
1447 };
1448}
1449
Thanks, apologies if this was already reported, searches didn't bring anything up.
Tome
If I click on the close x but then drag off the x the window will initiate a drag. When I release the mouse, the window does not close, and any future clicks on the close x do nothing. The window cannot be closed and the page needs to be reloaded.
Using 3.1.0 and confirmed on latest Chrome and Firefox.
This does not occur for me if closeAction is 'hide'.
Update: Finally able to debug in firefox and I see that calling hide() on the Window is throwing this error:
ext-all-debug.js
h.apply is not a function
1443 function createSingle(h, e, fn, scope){
1444 return function(){
1445 e.removeListener(fn, scope);
1446 return h.apply(scope, arguments);
1447 };
1448}
1449
Thanks, apologies if this was already reported, searches didn't bring anything up.
Tome