Have noticed a couple of bugs whilst developing a wrapper for your Window controls.
I think it would help you to know that with my wrapper, every window gets spawned from window.top where there is an instance of RadWindowManager exposed. This is to prevent dialogs opening inside each other.
Bug 1:
When multiple modal windows are open (non-modal can be open too) and I call the cascade() function, the modal windows become non-modal.
Bug 2:
To see this bug you need to do the following...
- Open a Modal Dialog that has a link inside that will spawn another modal dialog (from window.top).
- Ok, so we've got a dialog open - now click the link to spawn the second dialog and then quickly right click in some whitespace of the first dialog, before the second one has appeared. Wait for dialog 2 to render and load. Your browsers context menu should still be visible. If you then click on Refresh (IE), or This Frame > Reload (FF) the first dialog will reload and re-render itself on-top of dialog 2!
I am personally not overly bothered about bug 2, but bug one is a little annoying, as I want our clients to have an always-on-top global controls panel that contains a Cascade Windows button.
Any help is greatly appreciated!
I think it would help you to know that with my wrapper, every window gets spawned from window.top where there is an instance of RadWindowManager exposed. This is to prevent dialogs opening inside each other.
Bug 1:
When multiple modal windows are open (non-modal can be open too) and I call the cascade() function, the modal windows become non-modal.
Bug 2:
To see this bug you need to do the following...
- Open a Modal Dialog that has a link inside that will spawn another modal dialog (from window.top).
- Ok, so we've got a dialog open - now click the link to spawn the second dialog and then quickly right click in some whitespace of the first dialog, before the second one has appeared. Wait for dialog 2 to render and load. Your browsers context menu should still be visible. If you then click on Refresh (IE), or This Frame > Reload (FF) the first dialog will reload and re-render itself on-top of dialog 2!
I am personally not overly bothered about bug 2, but bug one is a little annoying, as I want our clients to have an always-on-top global controls panel that contains a Cascade Windows button.
Any help is greatly appreciated!