From: Janusz Dobrowolski Date: Fri, 20 Mar 2009 20:53:07 +0000 (+0000) Subject: Added cancel edition hotkey X-Git-Tag: v2.4.2~19^2~1460 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=c4eae7a18f0eb824e6eda7be2ba6fa820e9e58c9;p=fa-stable.git Added cancel edition hotkey --- diff --git a/admin/attachments.php b/admin/attachments.php index cf1c1696..773ac80b 100644 --- a/admin/attachments.php +++ b/admin/attachments.php @@ -239,7 +239,7 @@ end_table(1); if (isset($_POST['filterType'])) hidden('filterType', $_POST['filterType']); -submit_add_or_update_center($selected_id == -1, '', 'default'); +submit_add_or_update_center($selected_id == -1, '', 'both'); end_form(); diff --git a/admin/fiscalyears.php b/admin/fiscalyears.php index b3de0f89..86ebfbda 100644 --- a/admin/fiscalyears.php +++ b/admin/fiscalyears.php @@ -196,7 +196,7 @@ function display_fiscalyear_edit($selected_id) end_table(1); - submit_add_or_update_center($selected_id == -1, '', 'default'); + submit_add_or_update_center($selected_id == -1, '', 'both'); end_form(); } diff --git a/admin/payment_terms.php b/admin/payment_terms.php index 0a706422..aa76bc15 100644 --- a/admin/payment_terms.php +++ b/admin/payment_terms.php @@ -222,7 +222,7 @@ text_row_ex(_("Days (Or Day In Following Month):"), 'DayNumber', 3); end_table(1); -submit_add_or_update_center($selected_id == -1, '', 'default'); +submit_add_or_update_center($selected_id == -1, '', 'both'); end_form(); diff --git a/admin/printers.php b/admin/printers.php index 20753ac7..a9137161 100644 --- a/admin/printers.php +++ b/admin/printers.php @@ -142,7 +142,7 @@ text_row(_("Timeout").':', 'tout', null, 5, 5); end_table(1); -submit_add_or_update_center($selected_id == -1, '', 'default'); +submit_add_or_update_center($selected_id == -1, '', 'both'); end_form(); diff --git a/admin/shipping_companies.php b/admin/shipping_companies.php index f32efae2..db26a845 100644 --- a/admin/shipping_companies.php +++ b/admin/shipping_companies.php @@ -163,7 +163,7 @@ text_row_ex(_("Address:"), 'address', 50); end_table(1); -submit_add_or_update_center($selected_id == -1, '', 'default'); +submit_add_or_update_center($selected_id == -1, '', 'both'); end_form(); end_page(); diff --git a/admin/users.php b/admin/users.php index 578def43..775cc813 100644 --- a/admin/users.php +++ b/admin/users.php @@ -218,7 +218,7 @@ check_row(_("Use popup window for reports:"), 'rep_popup', $_POST['rep_popup'], end_table(1); -submit_add_or_update_center($selected_id == '', '', 'default'); +submit_add_or_update_center($selected_id == '', '', 'both'); end_form(); end_page(); diff --git a/gl/manage/bank_accounts.php b/gl/manage/bank_accounts.php index 45bea5e8..8b08fae8 100644 --- a/gl/manage/bank_accounts.php +++ b/gl/manage/bank_accounts.php @@ -184,7 +184,7 @@ textarea_row(_("Bank Address:"), 'bank_address', null, 40, 5); end_table(1); -submit_add_or_update_center($selected_id == -1, '', 'default'); +submit_add_or_update_center($selected_id == -1, '', 'both'); end_form(); diff --git a/gl/manage/currencies.php b/gl/manage/currencies.php index d5db45f3..11373fcf 100644 --- a/gl/manage/currencies.php +++ b/gl/manage/currencies.php @@ -223,7 +223,7 @@ function display_currency_edit($selected_id) end_table(1); - submit_add_or_update_center($selected_id == '', '', 'default'); + submit_add_or_update_center($selected_id == '', '', 'both'); end_form(); } diff --git a/gl/manage/exchange_rates.php b/gl/manage/exchange_rates.php index d0c42d21..a529ce7e 100644 --- a/gl/manage/exchange_rates.php +++ b/gl/manage/exchange_rates.php @@ -143,7 +143,7 @@ function display_rate_edit() end_table(1); - submit_add_or_update_center($selected_id == '', '', 'default'); + submit_add_or_update_center($selected_id == '', '', 'both'); display_note(_("Exchange rates are entered against the company currency."), 1); } diff --git a/gl/manage/gl_account_classes.php b/gl/manage/gl_account_classes.php index 139cc8f5..47651ef9 100644 --- a/gl/manage/gl_account_classes.php +++ b/gl/manage/gl_account_classes.php @@ -167,7 +167,7 @@ yesno_list_row(_("Balance Sheet:"), 'Balance', null, "", "", false); end_table(1); -submit_add_or_update_center($selected_id == -1, '', 'default'); +submit_add_or_update_center($selected_id == -1, '', 'both'); end_form(); diff --git a/gl/manage/gl_account_types.php b/gl/manage/gl_account_types.php index 76e91faa..2f0529fa 100644 --- a/gl/manage/gl_account_types.php +++ b/gl/manage/gl_account_types.php @@ -188,7 +188,7 @@ class_list_row(_("Class Type:"), 'class_id', null); end_table(1); -submit_add_or_update_center($selected_id == -1, '', 'default'); +submit_add_or_update_center($selected_id == -1, '', 'both'); end_form();