Index: lams_tool_images/web/WEB-INF/tags/AuthoringRatingCriteria.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_images/web/WEB-INF/tags/AuthoringRatingCriteria.tag,v
diff -u -r1.2.2.7 -r1.2.2.8
--- lams_tool_images/web/WEB-INF/tags/AuthoringRatingCriteria.tag 18 Oct 2016 01:28:47 -0000 1.2.2.7
+++ lams_tool_images/web/WEB-INF/tags/AuthoringRatingCriteria.tag 7 Dec 2016 05:29:13 -0000 1.2.2.8
@@ -224,15 +224,15 @@
//check minimum is not bigger than maximum
function validateRatingLimits(isMinimum) {
var minRateDropDown = document.getElementById("minimum-rates");
- var minLimit = parseInt(minRateDropDown.options[minRateDropDown.selectedIndex].value);
+ var minLimit = parseInt(minRateDropDown.value);
var maxRateDropDown = document.getElementById("maximum-rates");
- var maxLimit = parseInt(maxRateDropDown.options[maxRateDropDown.selectedIndex].value);
+ var maxLimit = parseInt(maxRateDropDown.value);
if ((minLimit > maxLimit) && !(maxLimit == 0)) {
if (isMinimum) {
- minRateDropDown.selectedIndex = maxRateDropDown.selectedIndex;
+ minRateDropDown.value = maxRateDropDown.value;
} else {
- maxRateDropDown.selectedIndex = minRateDropDown.selectedIndex;
+ maxRateDropDown.value = minRateDropDown.value;
}
alert('');
@@ -284,42 +284,11 @@
-
-
-
-
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
-
+
-
-
-
-
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
+
@@ -340,7 +309,7 @@
-
+