BUG 0000 Disabling tempararily the _isodate value for date fields
In dynaforms, feature disabled by wrong logic
This commit is contained in:
@@ -3594,7 +3594,7 @@ class XmlForm_Field_Date extends XmlForm_Field_SimpleText
|
|||||||
. 'pm:end="'.$endDate.'" '.$onchange.' class="module_app_input___gray" value="'.$value.'"/>';
|
. 'pm:end="'.$endDate.'" '.$onchange.' class="module_app_input___gray" value="'.$value.'"/>';
|
||||||
|
|
||||||
}
|
}
|
||||||
// added isodate format in the data field when it has a mask
|
/*** Commented because seems is not working well *
|
||||||
$idIsoDate = substr($pID,0,strlen($pID)-1).'_isodate]';
|
$idIsoDate = substr($pID,0,strlen($pID)-1).'_isodate]';
|
||||||
$amask = explode('-',str_replace('%','',$mask));
|
$amask = explode('-',str_replace('%','',$mask));
|
||||||
$axDate = explode('-',$value);
|
$axDate = explode('-',$value);
|
||||||
@@ -3607,7 +3607,8 @@ 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 == '') $html .= $this->renderHint();
|
if ($this->gridFieldType == '') $html .= $this->renderHint();
|
||||||
return $html;
|
return $html;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user