Index: lams_tool_preview/web/pages/learning/comment.jsp =================================================================== diff -u -rd2f1cafab9126e3848663764c082b76ccf2de0c5 -rdbc01e6417b9ebbe49741ddd0463c571cc6e3932 --- lams_tool_preview/web/pages/learning/comment.jsp (.../comment.jsp) (revision d2f1cafab9126e3848663764c082b76ccf2de0c5) +++ lams_tool_preview/web/pages/learning/comment.jsp (.../comment.jsp) (revision dbc01e6417b9ebbe49741ddd0463c571cc6e3932) @@ -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"> + + + + + + + + + + + + + + +
+
-