From: Moritz Bunkus Date: Fri, 24 Mar 2017 13:50:46 +0000 (+0100) Subject: ActionBar: Verwendung bei »System« → »Bücherkontrolle« X-Git-Tag: release-3.5.4~1167 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=dacafc8938f38bca8a3bf8b4e68786855b3fabfc;p=kivitendo-erp.git ActionBar: Verwendung bei »System« → »Bücherkontrolle« --- diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl index c776ef60a..125a10d24 100644 --- a/bin/mozilla/am.pl +++ b/bin/mozilla/am.pl @@ -770,6 +770,8 @@ sub audit_control { AM->closedto(\%::myconfig, $::form); + setup_am_audit_control_action_bar(); + $::form->header; print $::form->parse_html_template('am/audit_control'); @@ -1616,3 +1618,17 @@ sub setup_am_edit_bins_action_bar { ); } } + +sub setup_am_audit_control_action_bar { + my %params = @_; + + for my $bar ($::request->layout->get('actionbar')) { + $bar->add( + action => [ + t8('Save'), + submit => [ '#form', { action => 'doclose' } ], + accesskey => 'enter', + ], + ); + } +} diff --git a/templates/webpages/am/audit_control.html b/templates/webpages/am/audit_control.html index bd127f2c3..6452b1450 100644 --- a/templates/webpages/am/audit_control.html +++ b/templates/webpages/am/audit_control.html @@ -5,7 +5,7 @@

[% title | html %]

-
+ @@ -18,11 +18,4 @@
-
- -
- - -
-