Index: lams_tool_zoom/web/pages/learning/learning.jsp =================================================================== diff -u -r2cf1e086b82a29fae22136351fc7a44821181323 -reeaae70bac24a36a5f05a5d56638df29c1a495c5 --- lams_tool_zoom/web/pages/learning/learning.jsp (.../learning.jsp) (revision 2cf1e086b82a29fae22136351fc7a44821181323) +++ lams_tool_zoom/web/pages/learning/learning.jsp (.../learning.jsp) (revision eeaae70bac24a36a5f05a5d56638df29c1a495c5) @@ -1,63 +1,33 @@ <%@ include file="/common/taglibs.jsp"%> - + - function disableFinishButton() { - document.getElementById("finishButton").disabled = true; - } - - function validateForm() { - - // Validates that there's input from the user. - - // disables the Finish button to avoid double submittion - disableFinishButton(); - - 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 correct, submit form - return true; - } else { - // otherwise, focus on the text area - document.learningForm.entryText.focus(); - document.getElementById("finishButton").disabled = false; - return false; - } - } else { - // there was something on the form, so submit the form - return true; - } - } - } - - -
- - - - - -

- -

- - - -
-
- + + +

+ +

+ + + +
+ + + +