Index: lams_tool_forum/web/jsps/authoring/advance.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/advance.jsp,v diff -u -r1.31.2.8 -r1.31.2.9 --- lams_tool_forum/web/jsps/authoring/advance.jsp 29 Jun 2016 05:26:38 -0000 1.31.2.8 +++ lams_tool_forum/web/jsps/authoring/advance.jsp 11 Nov 2016 08:23:13 -0000 1.31.2.9 @@ -2,6 +2,8 @@ + + @@ -23,13 +25,13 @@ - + - + @@ -41,39 +43,12 @@ - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - + + - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - + @@ -97,39 +72,12 @@ - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - + + - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - + @@ -265,18 +213,20 @@ } } checkRating(); + + function validateRatings(isMinimunRateDropdownUsed) { - var minRateDropDown = document.getElementById("minimumRate"); - var minRatings = parseInt(minRateDropDown.options[minRateDropDown.selectedIndex].value); - var maxRateDropDown = document.getElementById("maximumRate"); - var maxRatings = parseInt(maxRateDropDown.options[maxRateDropDown.selectedIndex].value); - + + var minRateInput = document.getElementById("minimumRate"); + var minRatings = parseInt(minRateInput.value); + var maxRateInput = document.getElementById("maximumRate"); + var maxRatings = parseInt(maxRateInput.value); if ((minRatings > maxRatings) && !(maxRatings == 0)) { if (isMinimunRateDropdownUsed) { - minRateDropDown.selectedIndex = maxRateDropDown.selectedIndex; + minRateInput.value = maxRatings; } else { - maxRateDropDown.selectedIndex = minRateDropDown.selectedIndex; + maxRateInput.value = minRatings; } alert(''); Index: lams_tool_forum/web/jsps/authoring/authoring.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/authoring.jsp,v diff -u -r1.31.2.1 -r1.31.2.2 --- lams_tool_forum/web/jsps/authoring/authoring.jsp 9 May 2016 12:03:49 -0000 1.31.2.1 +++ lams_tool_forum/web/jsps/authoring/authoring.jsp 11 Nov 2016 08:23:41 -0000 1.31.2.2 @@ -3,10 +3,10 @@