it's related about 4553 bug

This commit is contained in:
Carlos Pacha
2011-02-01 19:56:24 +00:00
parent 107856cc24
commit 8422b5ff91

View File

@@ -172,11 +172,13 @@ var G_Grid = function(oForm, sGridName) {
}
tags = oNewRow.getElementsByTagName('td')[i].getElementsByTagName('a');
if( tags.length == 0 ){ //then it is a datepicker
if( tags.length == 0 ){ //then it is not a datepicker
scriptTags = oNewRow.getElementsByTagName('td')[i].getElementsByTagName('script');
attributes = elementAttributesNS(aObjects[0], 'pm');
if(attributes.defaultvalue!= undefined)
attributDefaultValue=attributes.defaultvalue;
} else {
attributDefaultValue='';
}
if (aObjects[0].type != 'checkbox' ) {