From 9a60cbac941f90e115fd8e46cb8acb7634273ee9 Mon Sep 17 00:00:00 2001 From: Enrique Ponce De Leon Date: Mon, 1 Aug 2011 18:13:00 -0400 Subject: [PATCH] BUG 7326 solved. yes/no readonly and text mode view issues solved. --- gulliver/js/grid/core/grid.js | 3 +++ gulliver/system/class.xmlform.php | 1 + 2 files changed, 4 insertions(+) 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').'" />'; }