Recently I have discovered that in async mode, onload function can not open modal windows - window will opened but it will not be modal, only dependent.
I use this function:
var r = new XMLHttpRequest();
r.open("POST", "http://www.someurl");
r.onload = function () {
window.openDialog("chrome://myapp/content/alert.xul", "", "modal, dialog, centerscreen");
}
r.send("myvar=sdsd");
I'm using firefox 0.8 20040206. _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
