From: Lo?c C. <lo...@us...> - 2001-05-06 16:47:53
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat In directory usw-pr-cvs1:/tmp/cvs-serv16582/chat Modified Files: loader.php3 input.php3 Log Message: The (in)famous IE4 javascript bug is fixed :))) Index: loader.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/loader.php3,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** loader.php3 2001/04/24 09:07:51 1.17 --- loader.php3 2001/05/06 16:47:51 1.18 *************** *** 126,130 **** . 'WHERE ' . 'm_time > ' . $lastUsrCheck . ' AND ' ! . 'username IN (\'SYS enter\', \'SYS exit\', \'SYS promote\') AND ' . '(type = 1' . (($dbSessionVars['roomType'] == 0) --- 126,130 ---- . 'WHERE ' . 'm_time > ' . $lastUsrCheck . ' AND ' ! . 'username IN (\'SYS enter\', \'SYS exit\', \'SYS promote\', \'SYS delreg\') AND ' . '(type = 1' . (($dbSessionVars['roomType'] == 0) *************** *** 304,311 **** <script type="text/javascript" language="javascript"> <!-- - // Emulates replace method for non-js1.1 compliant browsers - if (typeof(location.replace) == 'undefined') - location.replace = location.assign; - // Updates the time for last checked user and the last loaded message, and the // current id --- 304,307 ---- Index: input.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/input.php3,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -r1.32 -r1.33 *** input.php3 2001/05/04 16:26:29 1.32 --- input.php3 2001/05/06 16:47:51 1.33 *************** *** 450,460 **** <script type="text/javascript" language="javascript"> <!-- ! // Refresh the messages frame if necessary ! ! // Emulates replace method for non-js1.1 compliant browsers ! if (typeof(location.replace) == 'undefined') location.replace = location.assign; ! window.parent.frames['messages'].window.location.replace('<?php echo($messagesLowUrl); ?>'); // --> </script> --- 450,466 ---- <script type="text/javascript" language="javascript"> <!-- ! // Emulates replace method for non-js1.1 compliant browsers (NS only) ! if (typeof(location.replace) == 'undefined' && typeof(location.assign) != 'undefined') location.replace = location.assign; ! // Refresh the messages frame ! if (typeof(location.replace) != 'undefined') ! { ! window.parent.frames['messages'].window.location.replace('<?php echo($messagesLowUrl); ?>'); ! } ! else ! { ! window.parent.frames['messages'].window.location.href = '<?php echo($messagesLowUrl); ?>'; ! } // --> </script> |