X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fam.pl;h=c23e9d2416404c6774401affa319a06cd1aa65a0;hb=25729efe8e63affebf11a97a70e4df9bc053b992;hp=347084d04a655d99871d5a29373837afb55101ec;hpb=5570a18e7da5c73191f82c5f71c08eeb7ec6dccb;p=kivitendo-erp.git diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl index 347084d04..c23e9d241 100644 --- a/bin/mozilla/am.pl +++ b/bin/mozilla/am.pl @@ -84,7 +84,6 @@ sub add_account { $form->{callback} = "am.pl?action=list_account" unless $form->{callback}; &account_header; - &form_footer; $main::lxdebug->leave_sub(); } @@ -344,21 +343,6 @@ sub account_header { $main::lxdebug->leave_sub(); } -sub form_footer { - $::lxdebug->enter_sub; - $::auth->assert('config'); - - print $::form->parse_html_template('am/form_footer', { - show_save => !$::form->{id} - || ($::form->{id} && $::form->{orphaned}) - || ($::form->{type} eq "account" && !$::form->{new_chart_valid}), - show_delete => $::form->{id} && $::form->{orphaned}, - show_save_as_new => $::form->{id} && $::form->{type} eq "account", - }); - - $::lxdebug->leave_sub; -} - sub save_account { $main::lxdebug->enter_sub(); @@ -1397,8 +1381,6 @@ sub setup_am_edit_account_action_bar { action => [ t8('Save'), submit => [ '#form', { action => "save_account" } ], - disabled => $::form->{id} && !$::form->{orphaned} ? t8('The object is in use and cannot be changed.') - : undef, accesskey => 'enter', ],