Index: lams_tool_preview/web/pages/learning/hedging.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_preview/web/pages/learning/Attic/hedging.jsp,v diff -u -r1.1.2.1 -r1.1.2.2 --- lams_tool_preview/web/pages/learning/hedging.jsp 10 Oct 2016 00:31:04 -0000 1.1.2.1 +++ lams_tool_preview/web/pages/learning/hedging.jsp 13 Nov 2016 13:19:19 -0000 1.1.2.2 @@ -14,6 +14,13 @@ }); currentMark = mark; $("#totalMark").html(currentMark); + + if ( currentMark == ${criteriaRatings.ratingCriteria.maxRating} ) { + showButtons(); + } else { + hideButtons(); + } + } function submitEntry(next){ @@ -24,7 +31,6 @@ $("#editForm").submit(); } else { alert('${criteriaRatings.ratingCriteria.maxRating}'); - showButtons(); } }