BUG 9287 The variable picker for the trigger editor does not show grid variables in the list

- The grid fields don't display a label
- Added a default label for the grid fields
This commit is contained in:
Julio Cesar Laura
2012-07-09 22:42:59 -04:00
parent 18b0f778fc
commit 4ac41f87ad
4 changed files with 6 additions and 6 deletions

View File

@@ -23,7 +23,7 @@
*
*/
G::LoadClass('xmlfield_InputPM');
$aFields = getDynaformsVars($_POST['sProcess'], true, isset($_POST['bIncMulSelFields']) ? (boolean)$_POST['bIncMulSelFields'] : false);
$aFields = getDynaformsVars($_POST['sProcess'], true, isset($_POST['bIncMulSelFields']) ? $_POST['bIncMulSelFields'] : 0);
$sHTML = '<select name="_Var_Form_" id="_Var_Form_" size="' . count($aFields) . '" style="width:100%;' . (! isset($_POST['sNoShowLeyend']) ? 'height:50%;' : '') . '" ondblclick="insertFormVar(\'' . $_POST['sFieldName'] . '\', this.value);">';
foreach ( $aFields as $aField ) {

View File

@@ -35,7 +35,7 @@
*/
G::LoadClass('xmlfield_InputPM');
$aFields = getDynaformsVars($_POST['sProcess'], true, isset($_POST['bIncMulSelFields']) ? (boolean)$_POST['bIncMulSelFields'] : false);
$aFields = getDynaformsVars($_POST['sProcess'], true, isset($_POST['bIncMulSelFields']) ? $_POST['bIncMulSelFields'] : 0);
$aType = $_POST['type'];
$aRows[0] = Array (