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.8 -r1.2.2.9
--- lams_tool_images/web/WEB-INF/tags/AuthoringRatingCriteria.tag 7 Dec 2016 05:29:13 -0000 1.2.2.8
+++ lams_tool_images/web/WEB-INF/tags/AuthoringRatingCriteria.tag 12 Dec 2016 06:44:23 -0000 1.2.2.9
@@ -224,15 +224,15 @@
//check minimum is not bigger than maximum
function validateRatingLimits(isMinimum) {
var minRateDropDown = document.getElementById("minimum-rates");
- var minLimit = parseInt(minRateDropDown.value);
+ var minLimit = parseInt(minRateDropDown.options[minRateDropDown.selectedIndex].value);
var maxRateDropDown = document.getElementById("maximum-rates");
- var maxLimit = parseInt(maxRateDropDown.value);
+ var maxLimit = parseInt(maxRateDropDown.options[maxRateDropDown.selectedIndex].value);
if ((minLimit > maxLimit) && !(maxLimit == 0)) {
if (isMinimum) {
- minRateDropDown.value = maxRateDropDown.value;
+ minRateDropDown.selectedIndex = maxRateDropDown.selectedIndex;
} else {
- maxRateDropDown.value = minRateDropDown.value;
+ maxRateDropDown.selectedIndex = minRateDropDown.selectedIndex;
}
alert('');
@@ -284,11 +284,42 @@
-
+
+
+
+
+ 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+ 10
+
+
-
+
+
+
+
+ 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+ 10
+
@@ -309,7 +340,7 @@
-
+