BUG 7326 solved. yes/no readonly and text mode view issues solved.

This commit is contained in:
Enrique Ponce De Leon
2011-08-01 18:13:00 -04:00
parent 10fc4259df
commit 9a60cbac94
2 changed files with 4 additions and 0 deletions

View File

@@ -356,6 +356,9 @@ var G_Grid = function(oForm, sGridName){
if (aAttributes[a].name.indexOf('pm:') != -1){ if (aAttributes[a].name.indexOf('pm:') != -1){
oNewSelect.setAttribute(aAttributes[a].name,aAttributes[a].value); oNewSelect.setAttribute(aAttributes[a].name,aAttributes[a].value);
} }
if (aAttributes[a].name == 'disabled'){
oNewSelect.setAttribute(aAttributes[a].name,aAttributes[a].value);
}
} }
attributes = elementAttributesNS(aObjects[0], 'pm'); attributes = elementAttributesNS(aObjects[0], 'pm');

View File

@@ -1058,6 +1058,7 @@ class XmlForm_Field_Text extends XmlForm_Field_SimpleText
$html .= '<input '; $html .= '<input ';
$html .= 'id="form['.$owner->name.']['.$r.']['.$this->name.']" '; $html .= 'id="form['.$owner->name.']['.$r.']['.$this->name.']" ';
$html .= 'name="form['.$owner->name.']['.$r.']['.$this->name.']" '; $html .= 'name="form['.$owner->name.']['.$r.']['.$this->name.']" ';
$html .= $this->NSDefaultValue().' ';
$html .= 'type="hidden" value="'.$this->htmlentities($v, ENT_QUOTES, 'utf-8').'" />'; $html .= 'type="hidden" value="'.$this->htmlentities($v, ENT_QUOTES, 'utf-8').'" />';
} }