Index: branches/RC/core/admin_templates/js/forms.js =================================================================== diff -u -r10579 -r10832 --- branches/RC/core/admin_templates/js/forms.js (.../forms.js) (revision 10579) +++ branches/RC/core/admin_templates/js/forms.js (.../forms.js) (revision 10832) @@ -129,9 +129,9 @@ // if we got here, it means that we are closing window ilegally (through OS interace X button) // alert('closing window'); // we need to clear temp tables then - - window.opener.WatchClosing(window, _DropTempUrl); - + if (window.opener) { + window.opener.WatchClosing(window, _DropTempUrl); + } } });