accesseky enter
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 26 Oct 2016 13:38:11 +0000 (15:38 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 28 Feb 2017 09:04:33 +0000 (10:04 +0100)
bin/mozilla/ir.pl
bin/mozilla/is.pl
bin/mozilla/oe.pl

index 37c498f..1a06a6b 100644 (file)
@@ -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'),
index 3f0f15d..64e8d2f 100644 (file)
@@ -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'),
index b6ff565..f771da8 100644 (file)
@@ -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'),