BUG 7372 Fixed. New grid dropdow is disabled in IE

This commit is contained in:
Enrique Ponce De Leon
2011-08-30 11:10:00 -04:00
parent 656fb9eeab
commit 5c45e0f834

View File

@@ -357,9 +357,16 @@ var G_Grid = function(oForm, sGridName){
oNewSelect.setAttribute(aAttributes[a].name,aAttributes[a].value); oNewSelect.setAttribute(aAttributes[a].name,aAttributes[a].value);
} }
if (aAttributes[a].name == 'disabled'){ if (aAttributes[a].name == 'disabled'){
if (_BROWSER.name == 'msie'){
if (aAttributes[a].value=='true'){
oNewSelect.setAttribute(aAttributes[a].name,aAttributes[a].value); oNewSelect.setAttribute(aAttributes[a].name,aAttributes[a].value);
} }
} }
else{
oNewSelect.setAttribute(aAttributes[a].name,aAttributes[a].value);
}
}
}
attributes = elementAttributesNS(aObjects[0], 'pm'); attributes = elementAttributesNS(aObjects[0], 'pm');
//var MyAtt = attributes; //var MyAtt = attributes;