From: dongsheng Date: Wed, 18 Jun 2008 04:06:11 +0000 (+0000) Subject: "MDL-8642, setting of auto scrolling, merged from MOODLE_19_STABLE" X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4ee00a30cf77650193e8b37b1649397e9338913c;p=moodle.git "MDL-8642, setting of auto scrolling, merged from MOODLE_19_STABLE" --- diff --git a/lang/en_utf8/chat.php b/lang/en_utf8/chat.php index 34e59df5c8..cb1ac679d1 100644 --- a/lang/en_utf8/chat.php +++ b/lang/en_utf8/chat.php @@ -1,7 +1,8 @@ - diff --git a/mod/chat/gui_header_js/chatinput.php b/mod/chat/gui_header_js/chatinput.php index d859c5dbcc..18b35fcecc 100644 --- a/mod/chat/gui_header_js/chatinput.php +++ b/mod/chat/gui_header_js/chatinput.php @@ -50,9 +50,10 @@ ?>
- >> - + onsubmit="return empty_field_and_submit()" style="margin:0"> + +
+
diff --git a/mod/chat/gui_header_js/jsupdate.php b/mod/chat/gui_header_js/jsupdate.php index 5d7ac74e85..cd3cc71a53 100644 --- a/mod/chat/gui_header_js/jsupdate.php +++ b/mod/chat/gui_header_js/jsupdate.php @@ -143,8 +143,9 @@ } } ?> - if(parent.msg) + if(parent.msg && parent.input.document.getElementById('auto').checked){ parent.msg.scroll(1,5000000); + } //]]>