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