diff options
Diffstat (limited to 'app/views/watchers/_new.html.erb')
-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 %> |