Index: lams_tool_preview/web/pages/learning/hedging.jsp =================================================================== diff -u -rd2f1cafab9126e3848663764c082b76ccf2de0c5 -rc260f6f3f855894e54d3725095e56d39a139d893 --- lams_tool_preview/web/pages/learning/hedging.jsp (.../hedging.jsp) (revision d2f1cafab9126e3848663764c082b76ccf2de0c5) +++ lams_tool_preview/web/pages/learning/hedging.jsp (.../hedging.jsp) (revision c260f6f3f855894e54d3725095e56d39a139d893) @@ -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(); } }