Sorry I said something wrong
Do not change anything in your code. It's more complicated in fact, I
will fix it in the next release.
A workaround if you need it is to comment lines in toFront fonction
(lines 683-684)
toFront: function() {
// if (Windows.focusedWindow == this)
// return;
this.setZIndex(Windows.maxZIndex + 20);
Windows.notify("onFocus", this);
},
And close windows by JS as usual
Seb
On Jan 31, 2007, at 1:32 PM, steffen wrote:
Sébastien Gruhier wrote:
Hi
It's not broken and it's not a bug :)
Multimodal has been done for Dialog not Window
hmm, but it's not only useful for dialog windows. ;)
To make it works, on your code, after creating the window, connect
close
event on the correct Dialog function like this
$(newdirwin.getId() + "_close").onclick = Dialog.okCallback
Well, ok... that changes the behaviour on the close button, but how
can
I close a modal window with a javascript function? ;)
thx
steffen
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com