From e2ad43dab7d941a27dcdc67b809eb76c938a5845 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 26 Oct 2016 15:38:11 +0200 Subject: [PATCH] accesseky enter --- bin/mozilla/ir.pl | 2 ++ bin/mozilla/is.pl | 2 ++ bin/mozilla/oe.pl | 2 ++ 3 files changed, 6 insertions(+) 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'), -- 2.20.1