From: Go MAEDA
Date: Tue, 1 May 2018 03:42:44 +0000 (+0000)
Subject: Disable ":disable_with" for CSV exports (#28482).
X-Git-Tag: 4.0.0~312
X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b618a04bb29fec53841467bae3a446f528a7afe3;p=redmine.git
Disable ":disable_with" for CSV exports (#28482).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17321 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb
index e055fc88f..005b92138 100644
--- a/app/views/issues/index.html.erb
+++ b/app/views/issues/index.html.erb
@@ -44,8 +44,8 @@
<% end %>
- <%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);" %>
- <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
+ <%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);", :data => { :disable_with => false } %>
+ <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button', :data => { :disable_with => false } %>
<% end %>
diff --git a/app/views/timelog/index.html.erb b/app/views/timelog/index.html.erb
index f777dac30..65ca4855d 100644
--- a/app/views/timelog/index.html.erb
+++ b/app/views/timelog/index.html.erb
@@ -32,8 +32,8 @@
- <%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);" %>
- <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
+ <%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);", :data => { :disable_with => false } %>
+ <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button', :data => { :disable_with => false } %>
<% end %>