summaryrefslogtreecommitdiffstats
path: root/app/views/issues
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-10-21 20:53:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-10-21 20:53:07 +0000
commit146af67b3ce719a281b5780027d9ece69022666a (patch)
treeecae7be912165edf6c4f51089f5e3e23279bd18c /app/views/issues
parent71351ce232a2e1d7926ec103fc06a32072a7d48f (diff)
downloadredmine-146af67b3ce719a281b5780027d9ece69022666a.tar.gz
redmine-146af67b3ce719a281b5780027d9ece69022666a.zip
Adds a Cancel button on issue edit view (#18051).
Patch by Marcin Świątkiewicz. git-svn-id: http://svn.redmine.org/redmine/trunk@13477 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/_edit.html.erb1
1 files changed, 1 insertions, 0 deletions
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 %>
<div id="preview" class="wiki"></div>