プロジェクト

全般

プロフィール

Vote #81187

完了

Remove unused key :preview from Redmine::AccessKeys::ACCESSKEYS

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Code cleanup/refactoring_30
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
30
version_id:
152
issue_org_id:
34444
author_id:
332
assigned_to_id:
332
comments:
5
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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',

journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Setting the target version to 4.2.0.
--------------------------------------------------------------------------------
Committed the patch.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,27758,Adds preview option to the wiki toolbar
relates,Closed,30459,Switch edit/preview tabs with keyboard shortcuts

Admin Redmine さんが3年以上前に更新

  • カテゴリCode cleanup/refactoring_30 にセット
  • 対象バージョン4.2.0_152 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0