Index: ssts-web/src/main/webapp/js/common.js =================================================================== diff -u -r29102 -r29163 --- ssts-web/src/main/webapp/js/common.js (.../common.js) (revision 29102) +++ ssts-web/src/main/webapp/js/common.js (.../common.js) (revision 29163) @@ -715,12 +715,15 @@ if (intIndex > 0) { var temText = selectElement.options[intIndex - 1].text; var temValue = selectElement.options[intIndex - 1].value; + var temId = selectElement.options[intIndex - 1].id; selectElement.options[intIndex - 1].text = selectElement.options[intIndex].text; selectElement.options[intIndex - 1].value = selectElement.options[intIndex].value; + selectElement.options[intIndex - 1].id = selectElement.options[intIndex].id; selectElement.options[intIndex].text = temText; selectElement.options[intIndex].value = temValue; + selectElement.options[intIndex].id = temId; selectElement.options[intIndex - 1].selected = true; selectElement.options[intIndex].selected = false; @@ -735,12 +738,15 @@ if (selectElement.options.length > 1 && intIndex < selectElement.options.length - 1 && intIndex >= 0) { var temText = selectElement.options[intIndex + 1].text; var temValue = selectElement.options[intIndex + 1].value; - + var temId = selectElement.options[intIndex + 1].id; + selectElement.options[intIndex + 1].text = selectElement.options[intIndex].text; selectElement.options[intIndex + 1].value = selectElement.options[intIndex].value; + selectElement.options[intIndex + 1].id = selectElement.options[intIndex].id; selectElement.options[intIndex].text = temText; selectElement.options[intIndex].value = temValue; + selectElement.options[intIndex].id = temId; selectElement.options[intIndex + 1].selected = true; selectElement.options[intIndex].selected = false;