From: Sven Schöling Date: Wed, 26 Oct 2016 13:38:11 +0000 (+0200) Subject: accesseky enter X-Git-Tag: release-3.5.4~1385 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e2ad43dab7d941a27dcdc67b809eb76c938a5845;p=kivitendo-erp.git accesseky enter --- diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index 37c498f02..1a06a6bc9 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -304,6 +304,8 @@ sub form_header { for my $bar ($::request->layout->get('actionbar')) { $bar->add_actions([ t8('Update'), submit => [ '#form', { action_update => 1 } ], + id => 'update_button', + accesskey => '13', ]); $bar->add_actions("combobox"); $bar->actions->[-1]->add_actions([ t8('Post'), diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 3f0f15d3c..64e8d2ff1 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -367,6 +367,8 @@ sub form_header { $bar->add_actions([ t8('Update'), submit => [ '#form', { action_update => 1 } ], disabled => !$::form->{id} && $::form->{locked}, + id => 'update_button', + accesskey => '13', ]); $bar->add_actions("combobox"); $bar->actions->[-1]->add_actions([ t8('Post'), diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index b6ff56518..f771da89b 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -455,6 +455,8 @@ sub form_header { for my $bar ($::request->layout->get('actionbar')) { $bar->add_actions([ t8('Update'), submit => [ '#form', { action_update => 1 } ], + id => 'update_button', + accesskey => 'enter', ]); $bar->add_actions("combobox"); $bar->actions->[-1]->add_actions([ t8('Save'),