Index: lams_tool_vote/web/learning/AnswersContent.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_vote/web/learning/AnswersContent.jsp,v diff -u -r1.15 -r1.16 --- lams_tool_vote/web/learning/AnswersContent.jsp 13 Jun 2006 05:50:20 -0000 1.15 +++ lams_tool_vote/web/learning/AnswersContent.jsp 13 Jun 2006 23:40:10 -0000 1.16 @@ -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 @@ - + - +