diff --git a/gulliver/js/grid/core/grid.js b/gulliver/js/grid/core/grid.js index 009ef84a8..96d8bb447 100644 --- a/gulliver/js/grid/core/grid.js +++ b/gulliver/js/grid/core/grid.js @@ -356,6 +356,9 @@ var G_Grid = function(oForm, sGridName){ if (aAttributes[a].name.indexOf('pm:') != -1){ 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'); diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index bf4eced3b..086ea4425 100644 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -1058,6 +1058,7 @@ class XmlForm_Field_Text extends XmlForm_Field_SimpleText $html .= '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').'" />'; }