From: G. Richardson Date: Mon, 17 Jul 2017 13:27:44 +0000 (+0200) Subject: Konto erfassen - alte Speichern/Löschen-Knöpfe entfernt X-Git-Tag: release-3.5.4~1003 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4487bcbffc414424dca499a26074923850779245;p=kivitendo-erp.git Konto erfassen - alte Speichern/Löschen-Knöpfe entfernt wurden bei der ActionBar-Umstellung vergessen, trat nur bei Konto erfassen auf. --- diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl index d8580bbda..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(); diff --git a/templates/webpages/am/form_footer.html b/templates/webpages/am/form_footer.html deleted file mode 100644 index 18a561f02..000000000 --- a/templates/webpages/am/form_footer.html +++ /dev/null @@ -1,13 +0,0 @@ -[%- USE T8 %] -[%- USE L %] -[%- USE HTML %] -[%- USE LxERP %] -[% L.hidden_tag('callback', callback) %] - -
-[%- IF show_save %][% L.submit_tag('action', LxERP.t8('Save'), onclick = 'if ( typeof(callback_save) === "function" ) return callback_save(); ') %][% END %] -[%- IF show_delete %][% L.submit_tag('action', LxERP.t8('Delete')) %][% END %] -[%- IF show_save_as_new %][% L.submit_tag('action', LxERP.t8('Save as new')) %][% END %] - - -