diff options
author | Go MAEDA <maeda@farend.jp> | 2018-12-02 06:24:21 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2018-12-02 06:24:21 +0000 |
commit | 05289f600296b8c72ae74a5397a6c14d049d5979 (patch) | |
tree | f2284bc5b38b7b932e7e98a215ec780bb1e99b9c /app/views/watchers | |
parent | 498e3746b1f479be344c73424bf7313d94f59297 (diff) | |
download | redmine-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/watchers')
-rw-r--r-- | app/views/watchers/_new.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/watchers/_new.html.erb b/app/views/watchers/_new.html.erb index 3640c6993..3bd7953ac 100644 --- a/app/views/watchers/_new.html.erb +++ b/app/views/watchers/_new.html.erb @@ -26,6 +26,6 @@ <p class="buttons"> <%= submit_tag l(:button_add), :name => nil, :onclick => "hideModal(this);" %> - <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %> + <%= link_to_function l(:button_cancel), "hideModal(this);" %> </p> <% end %> |