mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 11:37:14 +00:00
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
This commit is contained in:
parent
f82d8314d9
commit
578c53a932
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user