Index: lams_tool_vote/web/learning/AnswersContent.jsp =================================================================== diff -u -rd9641f5d7a8cc008eb7621e6a48d6d21438eafe1 -r6b6dbecc625e165bc695c84162f36c68687eda20 --- lams_tool_vote/web/learning/AnswersContent.jsp (.../AnswersContent.jsp) (revision d9641f5d7a8cc008eb7621e6a48d6d21438eafe1) +++ lams_tool_vote/web/learning/AnswersContent.jsp (.../AnswersContent.jsp) (revision 6b6dbecc625e165bc695c84162f36c68687eda20) @@ -60,7 +60,7 @@ } - function validateSubmit(actionMethod){ + function validate(){ var error = ""; var userEntry = 0; @@ -71,8 +71,9 @@ if((maxVotes != -1) && (noSelected + userEntry) > maxVotes){ alertTooManyVotes(maxVotes); + return false; } else { - submitMethod(actionMethod); + return true; } } @@ -86,7 +87,7 @@ - + @@ -148,11 +149,10 @@ - + - +