Index: lams_tool_notebook/web/pages/learning/notebook.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_notebook/web/pages/learning/notebook.jsp,v diff -u -r1.30.2.2 -r1.30.2.3 --- lams_tool_notebook/web/pages/learning/notebook.jsp 3 Feb 2016 04:08:52 -0000 1.30.2.2 +++ lams_tool_notebook/web/pages/learning/notebook.jsp 23 Feb 2016 17:20:57 -0000 1.30.2.3 @@ -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