summaryrefslogtreecommitdiffstats
path: root/app/views/issue_categories
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/issue_categories
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/issue_categories')
-rw-r--r--app/views/issue_categories/_new_modal.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issue_categories/_new_modal.html.erb b/app/views/issue_categories/_new_modal.html.erb
index 07cc289ff..9ab1595b4 100644
--- a/app/views/issue_categories/_new_modal.html.erb
+++ b/app/views/issue_categories/_new_modal.html.erb
@@ -4,6 +4,6 @@
<%= render :partial => 'issue_categories/form', :locals => { :f => f } %>
<p class="buttons">
<%= submit_tag l(:button_create), :name => nil %>
- <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
+ <%= link_to_function l(:button_cancel), "hideModal(this);" %>
</p>
<% end %>