summaryrefslogtreecommitdiffstats
path: root/app/views/queries
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-07-13 12:24:16 +0000
committerGo MAEDA <maeda@farend.jp>2020-07-13 12:24:16 +0000
commitbe183e58b9ead8d5f37150138cca35dd496d5fcc (patch)
tree33d08c619ec14bdfe97acac6b658134dac4e4ebf /app/views/queries
parent575403413a7548c39b64e0515f1885cf9f38c41f (diff)
downloadredmine-be183e58b9ead8d5f37150138cca35dd496d5fcc.tar.gz
redmine-be183e58b9ead8d5f37150138cca35dd496d5fcc.zip
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
Diffstat (limited to 'app/views/queries')
-rw-r--r--app/views/queries/_columns.html.erb2
1 files changed, 1 insertions, 1 deletions
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 %>