From dcec0dab83eb9f793057d815f62b6e10873f428b Mon Sep 17 00:00:00 2001 From: Marius BALTEANU Date: Mon, 30 Apr 2018 08:25:21 +0000 Subject: [PATCH] disable data-disable-with for CSV exports --- 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 e055fc8..005b921 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 f777dac..65ca485 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 %> -- 2.1.4