X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fui%2Fui_lists.inc;h=a5a5cbf20a3d3f4eea1312ec4f596d466437cbd0;hb=e41b7b30847fa2889d67d4e418bb9819a85f065d;hp=785ab74604515bae2e260e1fe6599615bf692faf;hpb=c935a4090e3f152dd5549217d69b5b5036197024;p=fa-stable.git
diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc
index 785ab746..a5a5cbf2 100644
--- a/includes/ui/ui_lists.inc
+++ b/includes/ui/ui_lists.inc
@@ -5,16 +5,16 @@ include_once($path_to_root . "/includes/reserved.inc");
include_once($path_to_root . "/includes/types.inc");
include_once($path_to_root . "/includes/current_user.inc");
-$_search_button = " ";
+$_search_button = " ";
-$_select_button = " ";
+$_select_button = " ";
$all_items = reserved_words::get_all();
//----------------------------------------------------------------------------
-// Universal combo generator
+// Universal sql combo generator
// $sql must return selector values and selector texts in columns 0 & 1
// Options are merged with defaults.
@@ -30,7 +30,9 @@ $opts = array( // default options
'spec_option'=>false, // option text or false
'spec_id' => 0, // option id
// submit on select parameters
+ 'default' => '', // default value when $_POST is not set
'select_submit' => false, //submit on select: true/false
+ 'edit_submit' => false, // call editor on F4
'async' => true, // select update via ajax (true) vs _page_body reload
// search box parameters
'sel_hint' => null,
@@ -46,11 +48,13 @@ $opts = array( // default options
'cells' => false, // combo displayed as 2