From 146af67b3ce719a281b5780027d9ece69022666a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 21 Oct 2014 20:53:07 +0000 Subject: [PATCH] Adds a Cancel button on issue edit view (#18051). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Patch by Marcin Świątkiewicz. git-svn-id: http://svn.redmine.org/redmine/trunk@13477 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/_edit.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/issues/_edit.html.erb b/app/views/issues/_edit.html.erb index 259df7357..e09a72695 100644 --- a/app/views/issues/_edit.html.erb +++ b/app/views/issues/_edit.html.erb @@ -46,6 +46,7 @@ <%= hidden_field_tag 'last_journal_id', params[:last_journal_id] || @issue.last_journal_id %> <%= submit_tag l(:button_submit) %> <%= preview_link preview_edit_issue_path(:project_id => @project, :id => @issue), 'issue-form' %> + | <%= link_to l(:button_cancel), {}, :onclick => "$('#update').hide(); return false;" %> <% end %>
-- 2.39.5