プロジェクト

全般

プロフィール

Vote #80966

完了

Selected gantt columns are not displayed with MS Edge Legacy

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

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

0%

予定工数:
category_id:
34
version_id:
162
issue_org_id:
33724
author_id:
362529
assigned_to_id:
332
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

#27672 makes it possible to select the display columns for the Gantt.
However, if you use MS Edge Legacy (old version), you can select columns, but only the default columns (Status, Priority, Assignee, Updated) are displayed and other selected columns (e.g. Spent time) are not displayed.

The following patch resolves this issue.


diff --git a/app/views/queries/_columns.html.erb b/app/views/queries/_columns.html.erb
index c5d14190e..18443de57 100644
--- a/app/views/queries/_columns.html.erb
+++ b/app/views/queries/_columns.html.erb
@@ -36,7 +36,7 @@
 <%= javascript_tag do %>
 $(document).ready(function(){
   $('.query-columns').closest('form').submit(function(){
-    $('#<%= selected_tag_id %> option').prop('selected', true);
+    $('#<%= selected_tag_id %> option:not(:disabled)').prop('selected', true);
   });
 });
 <% end %>

journals

I have confirmed the issue and the attached patch fixes it. Setting the target version to 4.1.2.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed the fix. Thank you.
--------------------------------------------------------------------------------

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


related_issues

relates,Closed,27672,Show selected columns in gantt chart

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

  • カテゴリGantt_34 にセット
  • 対象バージョン4.1.2_162 にセット

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

いいね!0
いいね!0