Merge pull request #1997 from hector-cortez/BUG-12738

BUG 12738 SQL doesn't work in GRID - Text-Area fields SOLVED
This commit is contained in:
julceslauhub
2013-08-21 09:22:39 -07:00

View File

@@ -1989,6 +1989,13 @@ class XmlForm_Field_Textarea extends XmlForm_Field
$r = 1;
foreach ($values as $v) {
$this->executeSQL( $owner, $r );
if (isset( $this->sqlOption )) {
$firstElement = key( $this->sqlOption );
if (isset( $firstElement )) {
$v = $firstElement;
}
}
$scrollStyle = $this->style . "overflow:scroll;overflow-y:scroll;overflow-x:hidden;overflow:-moz-scrollbars-vertical;";
$html = '';
if ($this->renderMode == 'edit') {