Actions
Patch #34444
closedRemove unused key :preview from Redmine::AccessKeys::ACCESSKEYS
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
Updated by Go MAEDA about 4 years ago
- Related to Feature #27758: Adds preview option to the wiki toolbar added
Updated by Go MAEDA about 4 years ago
- Related to Feature #30459: Switch edit/preview tabs with keyboard shortcuts added
Updated by Go MAEDA almost 4 years ago
- Target version set to 4.2.0
Setting the target version to 4.2.0.
Updated by Go MAEDA almost 4 years ago
- Subject changed from Remove :preview from Redmine::AccessKeys::ACCESSKEYS to Remove unused key :preview from Redmine::AccessKeys::ACCESSKEYS
- Assignee set to Go MAEDA
Committed the patch.
Actions