Index: lams_tool_notebook/web/pages/learning/notebook.jsp =================================================================== diff -u -redba8c9898046064fc839e9840fea429272aff59 -r65a41bd80f751917e945f17beb5f0d34926066ac --- lams_tool_notebook/web/pages/learning/notebook.jsp (.../notebook.jsp) (revision edba8c9898046064fc839e9840fea429272aff59) +++ lams_tool_notebook/web/pages/learning/notebook.jsp (.../notebook.jsp) (revision 65a41bd80f751917e945f17beb5f0d34926066ac) @@ -8,111 +8,117 @@ } function validateForm() { - + // Validates that there's input from the user. - + // disables the Finish button to avoid double submittion disableFinishButton(); - if (mode == "learner") { + if (mode == "learner") { // if this is learner mode, then we add this validation see (LDEV-1319) - + if (document.learningForm.entryText.value == "") { - + // if the input is blank, then we further inquire to make sure it is correct - if (confirm("message.learner.blank.input")) { + if (confirm("message.learner.blank.input")) { // if correct, submit form return true; } else { // otherwise, focus on the text area document.learningForm.entryText.focus(); document.getElementById("finishButton").disabled = false; - return false; + return false; } } else { // there was something on the form, so submit the form return true; } } } - - function submitForm(methodName){ + + function submitForm(methodName) { var f = document.getElementById('messageForm'); f.submit(); } -
-

- -

+ + + + + -

- -

- -
- - - -
-
- - -
- - - - - - - - + +
+
- -   + + + + + + + + + + - - - - - - - - - + + - - - + + - - + - - - - - - - - -

-

- -

- +
- - -
- - + + + +
+ + + + + + + + + + + + + + + +
+ +
+
+
+ + +
+
+ +
+
+ +
+
+
+ + +
+ @@ -121,9 +127,20 @@ - - -
-
- -
+
+
+
+
+ +
+ + + + + + + \ No newline at end of file