diff options
author | Go MAEDA <maeda@farend.jp> | 2024-06-27 08:41:45 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-06-27 08:41:45 +0000 |
commit | 578c53a932b52ea4b3c6658d631730e8fa169400 (patch) | |
tree | fa2609e7630978560aa78e2c0cce79777e7bb548 /app/helpers | |
parent | f82d8314d959baa1573286d9563b6108c9f986f5 (diff) | |
download | redmine-578c53a932b52ea4b3c6658d631730e8fa169400.tar.gz redmine-578c53a932b52ea4b3c6658d631730e8fa169400.zip |
Disable custom query links while loading to prevent multiple requests (#40901).
Patch by Mizuki ISHIKAWA (@ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@22901 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/queries_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb index 453149436..47f7db0f2 100644 --- a/app/helpers/queries_helper.rb +++ b/app/helpers/queries_helper.rb @@ -507,7 +507,8 @@ module QueriesHelper link_to(query.name, url_params.merge(:query_id => query), :class => css, - :title => query.description) + + :title => query.description, + :data => { :disable_with => query.name }) + clear_link.html_safe) end.join("\n").html_safe, :class => 'queries' |