Index: lams_tool_forum/web/jsps/learning/edit.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/learning/edit.jsp,v diff -u -r1.11 -r1.12 --- lams_tool_forum/web/jsps/learning/edit.jsp 18 Mar 2015 11:24:44 -0000 1.11 +++ lams_tool_forum/web/jsps/learning/edit.jsp 9 Apr 2015 07:50:11 -0000 1.12 @@ -6,6 +6,9 @@ $("#editForm").click(function (e) { e.stopPropagation(); }); + $("#editForm").keydown(function (e) { + e.stopPropagation(); + }); // The treetable code uses the clicks to expand and collapse the replies but then // the buttons will not work. So stop the event propogating up the event chain. Index: lams_tool_forum/web/jsps/learning/reply.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/learning/reply.jsp,v diff -u -r1.21 -r1.22 --- lams_tool_forum/web/jsps/learning/reply.jsp 8 Apr 2015 04:03:49 -0000 1.21 +++ lams_tool_forum/web/jsps/learning/reply.jsp 9 Apr 2015 07:50:11 -0000 1.22 @@ -9,6 +9,10 @@ $("#replyForm").click(function (e) { e.stopPropagation(); }); + $("#replyForm").keydown(function (e) { + e.stopPropagation(); + }); + $('#replyForm').submit(function() { // catch the form's submit event