summaryrefslogtreecommitdiffstats
path: root/app/views/issues
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-12-02 06:24:21 +0000
committerGo MAEDA <maeda@farend.jp>2018-12-02 06:24:21 +0000
commit05289f600296b8c72ae74a5397a6c14d049d5979 (patch)
treef2284bc5b38b7b932e7e98a215ec780bb1e99b9c /app/views/issues
parent498e3746b1f479be344c73424bf7313d94f59297 (diff)
downloadredmine-05289f600296b8c72ae74a5397a6c14d049d5979.tar.gz
redmine-05289f600296b8c72ae74a5397a6c14d049d5979.zip
Replace cancel button with cancel link in modals (#28662).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17677 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb
index c02c18368..d5a77ca51 100644
--- a/app/views/issues/index.html.erb
+++ b/app/views/issues/index.html.erb
@@ -46,7 +46,7 @@
<% end %>
<p class="buttons">
<%= 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 } %>
+ <%= link_to_function l(:button_cancel), "hideModal(this);" %>
</p>
<% end %>
</div>