diff --git a/web/js/ajaxUtils.js b/web/js/ajaxUtils.js index 11f01d6..4197952 100644 --- a/web/js/ajaxUtils.js +++ b/web/js/ajaxUtils.js @@ -26,21 +26,21 @@ function createHttpRequest() { function buildOptions(xmlDoc,id) { var selectObj = document.getElementById(id); - if (!selectObj || selectObj.tagName!="TR") { + if (!selectObj || selectObj.tagName!="SELECT") { return; } var options = xmlDoc.getElementsByTagName("option"); //clear select object - for (var i = selectObj.length-1 ; i >= 0 ; i--){ - selectObj.options[i] = null; - } + // for (var i = selectObj.length-1 ; i >= 0 ; i--){ + // selectObj.options[i] = null; + // } selectObj.length = 0; for (var i=0; i