BUG 8334 se adiciono un arreglo solo para IE

This commit is contained in:
Alvaro Campos
2012-02-16 11:45:40 -04:00
parent 59c28fef01
commit a64ca5443b

View File

@@ -308,11 +308,13 @@ var G_Grid = function(oForm, sGridName){
} }
break; break;
case 'checkbox': //CHECKBOX case 'checkbox': //CHECKBOX
attributesFalse = elementAttributesNS(aObjects[0], ''); if (_BROWSER.name != 'msie'){
if((defaultValue === attributesFalse.falsevalue) || (defaultValue==='')) attributesFalse = elementAttributesNS(aObjects[0], '');
aObjects[n].checked = false; if((defaultValue === attributesFalse.falsevalue) || (defaultValue===''))
else aObjects[n].checked = false;
aObjects[n].checked = true; else
aObjects[n].checked = true;
}
break; break;
case 'hidden': //HIDDEN case 'hidden': //HIDDEN
if ((attributes.gridtype != 'yesno' && attributes.gridtype != 'dropdown') || typeof attributes.gridtype == 'undefined') if ((attributes.gridtype != 'yesno' && attributes.gridtype != 'dropdown') || typeof attributes.gridtype == 'undefined')