Index: lams_tool_chat/web/pages/learning/chat_app.js =================================================================== RCS file: /usr/local/cvsroot/lams_tool_chat/web/pages/learning/Attic/chat_app.js,v diff -u -r1.4 -r1.5 --- lams_tool_chat/web/pages/learning/chat_app.js 9 Aug 2006 02:59:15 -0000 1.4 +++ lams_tool_chat/web/pages/learning/chat_app.js 9 Aug 2006 03:29:49 -0000 1.5 @@ -275,6 +275,9 @@ } } function sendMsg(aForm) { + if (aForm.msg.value == "") { + return false; // do not send empty messages. + } var aMsg = new JSJaCMessage(); var rosterList = document.getElementById("roster_user_selector"); var selectedIndex = rosterList.selectedIndex;