From: Lo?c C. <lo...@us...> - 2001-05-10 15:08:38
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat In directory usw-pr-cvs1:/tmp/cvs-serv9392/chat Modified Files: whois_popup.php3 Log Message: Fix a js bug (if one close the popup after logout) ***** Bogus filespec: - ***** Bogus filespec: 0.14/chat Index: whois_popup.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/whois_popup.php3,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** whois_popup.php3 2001/03/23 18:44:46 1.3 --- whois_popup.php3 2001/05/10 15:08:35 1.4 *************** *** 46,49 **** --- 46,52 ---- function put_focus() { + if (typeof(window.opener.window) == 'undefined' + || typeof(window.opener.window.document) != 'object') + return; if (window.opener.window.document.title == "Hidden Input frame") targetFrame = window.opener.window.parent.frames['input'].window; |