Martin.Trummer
1 Sep 2008, 11:24 PM
when call window.show() an a modal window, the window will be centered.
This is a problem, when the modal window is bigger than the browser window, because then the user cannot click the close icon on the right top of the window any longer.
And then there is no way to close this window again.
Would it make sense to enhance the Window() class, so that its top can never be higher than the top of the browser window?
From the source-code of Window, I see that the ESC key is supposed to close the window if it is clicked, but it doesn't in my case - any ideas why this could happen?
note: this is the original thread: http://extjs.com/forum/showthread.php?p=217424
This is a problem, when the modal window is bigger than the browser window, because then the user cannot click the close icon on the right top of the window any longer.
And then there is no way to close this window again.
Would it make sense to enhance the Window() class, so that its top can never be higher than the top of the browser window?
From the source-code of Window, I see that the ESC key is supposed to close the window if it is clicked, but it doesn't in my case - any ideas why this could happen?
note: this is the original thread: http://extjs.com/forum/showthread.php?p=217424