BUG 7042 Solved the validation of the field date in dynaform Grid

The problem was solved modificating the validation of the field date
This commit is contained in:
Douglas Medrano Chura
2011-06-09 15:26:24 -04:00
parent cbd51f9f00
commit ae3f158d2c
2 changed files with 13 additions and 3 deletions

View File

@@ -270,6 +270,16 @@ var G_Grid = function(oForm, sGridName){
}
//Create new 'a' to trigger DatePicker
var a2 = document.createElement('a');
if( a2.style.setAttribute ) {
var styleText = "position:relative;top:0px;left:-19px;";
a2.style.setAttribute("cssText", styleText );
}
else {
var styleText = "position:relative;top:0px;left:-22px;";
a2.setAttribute("style", styleText );
}
a2.id = datePickerTriggerId;
a2.innerHTML = img2;
oNewRow.getElementsByTagName('td')[i].appendChild(a2);