Index: lams_tool_images/web/WEB-INF/tags/AuthoringRatingCriteria.tag
===================================================================
diff -u -r4e606a0786a16a2bc75f02d953e211c2d3049097 -rd0e3c313150d5acf57b8a3dfe83db0506dc24e6c
--- lams_tool_images/web/WEB-INF/tags/AuthoringRatingCriteria.tag (.../AuthoringRatingCriteria.tag) (revision 4e606a0786a16a2bc75f02d953e211c2d3049097)
+++ lams_tool_images/web/WEB-INF/tags/AuthoringRatingCriteria.tag (.../AuthoringRatingCriteria.tag) (revision d0e3c313150d5acf57b8a3dfe83db0506dc24e6c)
@@ -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 @@
-
+