cwolves
10 Jul 2007, 6:28 PM
In IE only, dialog.destroy doesn't always work. I had to do this to ensure that the dialog left properly:
this.dialog.destroy();
if(this.dialog.el.dom.parentNode){ this.dialog.el.dom.parentNode.removeChild(this.dialog.el.dom); }
It seems to always remove the "shadow" behind the dialog that floats above the entire page, but sometimes the dialog sticks around for fun.
this.dialog.destroy();
if(this.dialog.el.dom.parentNode){ this.dialog.el.dom.parentNode.removeChild(this.dialog.el.dom); }
It seems to always remove the "shadow" behind the dialog that floats above the entire page, but sometimes the dialog sticks around for fun.