From: Janusz Dobrowolski Date: Sun, 6 Jul 2008 21:16:33 +0000 (+0000) Subject: submit on change option for currency lists X-Git-Tag: v2.4.2~19^2~1931 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=3c460a920a88bdc62e81fc10e01d202c1f9140f6;p=fa-stable.git submit on change option for currency lists --- diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index 101d3d3c..3aae2521 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -482,20 +482,20 @@ return combo_input($name, $selected_id, $sql, 'curr_abrev', 'currency', ) ); } -function currencies_list_cells($label, $name, $selected_id=null) +function currencies_list_cells($label, $name, $selected_id=null, $submit_on_change=false) { if ($label != null) echo "$label\n"; echo ""; - $str = currencies_list($name, $selected_id); + $str = currencies_list($name, $selected_id, $submit_on_change); echo "\n"; return $str; } -function currencies_list_row($label, $name, $selected_id=null) +function currencies_list_row($label, $name, $selected_id=null, $submit_on_change=false) { echo "\n"; - $str = currencies_list_cells($label, $name, $selected_id); + $str = currencies_list_cells($label, $name, $selected_id, $submit_on_change); echo "\n"; return $str; }