From b618a04bb29fec53841467bae3a446f528a7afe3 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Tue, 1 May 2018 03:42:44 +0000 Subject: [PATCH] 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 --- app/views/issues/index.html.erb | 4 ++-- app/views/timelog/index.html.erb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 %>