Patch #34444
Remove unused key :preview from Redmine::AccessKeys::ACCESSKEYS
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Code cleanup/refactoring | |||
Target version: | 4.2.0 |
Description
As reported in #30459, Redmine 4.0 and later no longer supports the accesskey "r" (updates the preview in editor mode) due to the improvement of UI made by #27758.
The definition of the accesskey should be removed.
diff --git a/lib/redmine/access_keys.rb b/lib/redmine/access_keys.rb
index db66c7d84..a64ac0673 100644
--- a/lib/redmine/access_keys.rb
+++ b/lib/redmine/access_keys.rb
@@ -22,7 +22,6 @@ module Redmine
unless const_defined?(:ACCESSKEYS)
ACCESSKEYS = {
:edit => 'e',
- :preview => 'r',
:quick_search => 'f',
:search => '4',
:new_issue => '7',
Related issues
Associated revisions
Remove unused key :preview from Redmine::AccessKeys::ACCESSKEYS (#34444).
Patch by Go MAEDA.
History
#1
Updated by Go MAEDA about 1 month ago
- Related to Feature #27758: Adds preview option to the wiki toolbar added
#2
Updated by Go MAEDA about 1 month ago
- Related to Feature #30459: Switch edit/preview tabs with keybord shortcuts added