Added cancel edition hotkey
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Fri, 20 Mar 2009 20:53:07 +0000 (20:53 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Fri, 20 Mar 2009 20:53:07 +0000 (20:53 +0000)
admin/attachments.php
admin/fiscalyears.php
admin/payment_terms.php
admin/printers.php
admin/shipping_companies.php
admin/users.php
gl/manage/bank_accounts.php
gl/manage/currencies.php
gl/manage/exchange_rates.php
gl/manage/gl_account_classes.php
gl/manage/gl_account_types.php

index cf1c16966540a9389db1aac7392efd7d892df816..773ac80bd34a8450c9aacb0cb2ac64156990116c 100644 (file)
@@ -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();
 
index b3de0f89dd6184795e633112eeeaa6cae8c71ca3..86ebfbdab46a17b286239012d520073f4d10b959 100644 (file)
@@ -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();
 }
index 0a7064229945073e357e56a387be7507eea44b87..aa76bc157e27cf64c2617b02b8b66d59b2e536f0 100644 (file)
@@ -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();
 
index 20753ac7ae197b5098e701d1dcef43f2bf878c72..a9137161a2a2763c5084a1ce264d3826a1a8220c 100644 (file)
@@ -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();
 
index f32efae283372dba080a4e764ab0bdd1171a589c..db26a845d1d95efe6e5533f28be62b4bbad6f54e 100644 (file)
@@ -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();
index 578def433910715c67acbdfdef8f3f883a62682c..775cc813e52684efce278629d9945bdb3b52d368 100644 (file)
@@ -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();
index 45bea5e819c3cc174eaa3036ed60167cf37e5b48..8b08fae8d59a1455f1e28f78d1ca84c1e064dee4 100644 (file)
@@ -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();
 
index d5db45f3de7e3a9f02ed4e42074aafec7ff884a1..11373fcf3d6c9009c51044528e8a9dae26a8e7ee 100644 (file)
@@ -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();
 }
index d0c42d21d60daa666ec219cce63a81a4a306a617..a529ce7ea70ac365d8a303d6667f026a7d7392b5 100644 (file)
@@ -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);
 }
index 139cc8f5a4eeaf79cba6f7257b619cdfffe30d54..47651ef9b5a15fdd6df69275ca4e6240bea082b9 100644 (file)
@@ -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();
 
index 76e91faa305930b8177561fb9fe3c1b5c4b8bea0..2f0529faadc5a8797dfb2453bb2de19c095d02f9 100644 (file)
@@ -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();