From: Janusz Dobrowolski Date: Thu, 1 Oct 2009 20:19:51 +0000 (+0000) Subject: Added multiply selection support in array_selector. X-Git-Tag: v2.4.2~19^2~1168 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=cc36638b65572da4867b7622723d6ed0135525b8;p=fa-stable.git Added multiply selection support in array_selector. --- diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index 05022392..7835f339 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -277,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 ); @@ -331,7 +332,9 @@ $opts = array( // default options } $_POST[$name] = $selected_id; - $selector = "\n"; $Ajax->addUpdate($name, "_{$name}_sel", $selector);