it's related about 4553 bug
This commit is contained in:
@@ -172,11 +172,13 @@ var G_Grid = function(oForm, sGridName) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tags = oNewRow.getElementsByTagName('td')[i].getElementsByTagName('a');
|
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');
|
scriptTags = oNewRow.getElementsByTagName('td')[i].getElementsByTagName('script');
|
||||||
attributes = elementAttributesNS(aObjects[0], 'pm');
|
attributes = elementAttributesNS(aObjects[0], 'pm');
|
||||||
if(attributes.defaultvalue!= undefined)
|
if(attributes.defaultvalue!= undefined)
|
||||||
attributDefaultValue=attributes.defaultvalue;
|
attributDefaultValue=attributes.defaultvalue;
|
||||||
|
} else {
|
||||||
|
attributDefaultValue='';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (aObjects[0].type != 'checkbox' ) {
|
if (aObjects[0].type != 'checkbox' ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user