From: Janusz Dobrowolski Date: Thu, 1 Oct 2009 20:07:57 +0000 (+0000) Subject: Added support for multily selection in combo_input lists. X-Git-Tag: v2.4.2~19^2~1172 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=652bb39a7321f6c4bb73ea96071f068ae1358af8;p=fa-stable.git Added support for multily selection in combo_input lists. --- diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index 62a34df9..05022392 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);