Index: lams_tool_preview/web/pages/learning/comment.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_preview/web/pages/learning/Attic/comment.jsp,v diff -u -r1.1.2.1 -r1.1.2.2 --- lams_tool_preview/web/pages/learning/comment.jsp 10 Oct 2016 00:31:04 -0000 1.1.2.1 +++ lams_tool_preview/web/pages/learning/comment.jsp 16 Nov 2016 04:46:16 -0000 1.1.2.2 @@ -94,7 +94,7 @@ rows += '
'; rows += ''; rows += '
'; - rows += ''; + rows += ''; rows += '
'; rows += '
'; rows += '
'; @@ -123,22 +123,37 @@ }); }); - function submitEntry(next) { - // data saved by the tick boxes so don't use next button to submit - nextprev(next); + + function submitEntry(next){ + // ratings already saved, just save any unsaved comments. + hideButtons(); + $("#next").val(next); + $('textarea').each(function() { + if (this.value==this.defaultValue) + this.value=""; + }); + $("#editForm").submit(); } + - - - - - - - - - +
" method="get" id="editForm"> + + + + + + + + + + + + + + +
+
-