From: Lo?c C. <lo...@us...> - 2001-04-13 21:10:19
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs In directory usw-pr-cvs1:/tmp/cvs-serv8320/chat/lib/index_libs Modified Files: connect_state.lib.js Log Message: Clicking on the red button frees the submit button at the input frame Index: connect_state.lib.js =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/connect_state.lib.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** connect_state.lib.js 2001/04/03 20:10:15 1.1 --- connect_state.lib.js 2001/04/13 21:10:15 1.2 *************** *** 68,72 **** exitFrm.document.images['imgConState'].src = jsImgConnect.src; } - else return; if (numTry < 3) --- 68,71 ---- *************** *** 80,83 **** --- 79,84 ---- jsConnect = 0; } + + return true; } // end of the 'pmcConnecting()' function *************** *** 122,125 **** --- 123,132 ---- // 'chat/lib/index_libs/main_index.lib.php3' script pmcDoRefreshLoader(); + with (window.parent.frames['input'].window.document.forms['inputForm']) + { + elements['sent'].value = '0'; + if (document.all) + elements['submitType'].disabled = false; + } } } // end of the 'pmcReConnect()' function |