From be183e58b9ead8d5f37150138cca35dd496d5fcc Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 13 Jul 2020 12:24:16 +0000 Subject: [PATCH] Fix that selected gantt columns are not displayed with MS Edge Legacy (#33724). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19899 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/queries/_columns.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %>