Details
Description
The chat would have an option as a check box to disable auto scroll.
It's is good when there are a lot of users chatting at same time.
Issue Links
| This issue has been marked as being related by: | ||||
| MDL-15370 | disable scroll on chat when is chat server daemon mode |
|
|
|
I think it's easy to do:
in 'chainput.php' somethink like:
print_checkbox("noScroll", "on", getNoScollDefault(), get_string("disableautoscroll","chat");
and in 'jsupdate.php' something like:
try {
if(!parent.input.document.getElementById("auto-cb0001").checked){ parent.msg.scroll(1,5000000); }
}
catch (e){
}