BUG-14788 Error en campos tipo "date"
Se muestra la alerta ignorando el contenido del campo.
This commit is contained in:
@@ -4299,7 +4299,7 @@ class XmlForm_Field_Date extends XmlForm_Field_SimpleText
|
|||||||
public $editable;
|
public $editable;
|
||||||
public $onchange;
|
public $onchange;
|
||||||
public $renderMode = '';
|
public $renderMode = '';
|
||||||
public $gridFieldType = 'date';
|
public $gridFieldType = '';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Verify the format of a date
|
* Verify the format of a date
|
||||||
@@ -4601,9 +4601,9 @@ class XmlForm_Field_Date extends XmlForm_Field_SimpleText
|
|||||||
* $html .= '<input type="hidden" id="'.$idIsoDate.'" name="'.$idIsoDate.'" value="'.$valisoDate.'"/>';
|
* $html .= '<input type="hidden" id="'.$idIsoDate.'" name="'.$idIsoDate.'" value="'.$valisoDate.'"/>';
|
||||||
* *
|
* *
|
||||||
*/
|
*/
|
||||||
/*if ($this->gridFieldType == '') {
|
if ($this->gridFieldType == '') {
|
||||||
$html .= $this->renderHint();
|
$html .= $this->renderHint();
|
||||||
}*/
|
}
|
||||||
return $html;
|
return $html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user