chat: Prevent user from submitting a 2nd message before his 1st is received.
Some users reported that mod/chat was silently dropping some messages. The user's browser may not be able to keep up with the rate at which he submits chat messages. This update keeps things sane. Author: Donal McMullan <[email protected]>
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
|
||||
if ($chatuser->version == 'header_js') {
|
||||
/// force msg referesh ASAP
|
||||
echo '<script type="text/javascript">parent.jsupdate.location.href = parent.jsupdate.document.anchors[0].href;</script>';
|
||||
echo '<script type="text/javascript">parent.jsupdate.location.href = parent.jsupdate.document.anchors[0].href;parent.input.enableForm();</script>';
|
||||
}
|
||||
|
||||
redirect('../empty.php');
|
||||
|
||||
Reference in New Issue
Block a user