X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_lists.inc;h=7835f33905bbef4d64bd11b4bb774cae71af5e1f;hb=cc36638b65572da4867b7622723d6ed0135525b8;hp=62a34df9b9c5612c2e4e62bbc5b3088b8defa243;hpb=c70823611ef71079c28542f4810cc50c183a8cd5;p=fa-stable.git
diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc
index 62a34df9..7835f339 100644
--- a/includes/ui/ui_lists.inc
+++ b/includes/ui/ui_lists.inc
@@ -52,6 +52,7 @@ $opts = array( // default options
'search_submit' => true, //search submit button: true/false
'size' => 8, // size and max of box tag
'max' => 50,
+ 'height' => false, // number of lines in select box
'cells' => false, // combo displayed as 2
| cells
'search' => array(), // sql field names to search
'format' => null, // format functions for regular options
@@ -207,7 +208,9 @@ $opts = array( // default options
$txt = $found;
$Ajax->addUpdate($name, $search_box, $txt ? $txt : '');
}
- $selector = "\n";
$Ajax->addUpdate($name, "_{$name}_sel", $selector);
@@ -274,6 +277,7 @@ $opts = array( // default options
'async' => true, // select update via ajax (true) vs _page_body reload
'default' => '', // default value when $_POST is not set
// search box parameters
+ 'height' => false, // number of lines in select box
'sel_hint' => null,
'disabled' => false
);
@@ -328,7 +332,9 @@ $opts = array( // default options
}
$_POST[$name] = $selected_id;
- $selector = "\n";
$Ajax->addUpdate($name, "_{$name}_sel", $selector);