diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-10-21 20:53:07 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-10-21 20:53:07 +0000 |
commit | 146af67b3ce719a281b5780027d9ece69022666a (patch) | |
tree | ecae7be912165edf6c4f51089f5e3e23279bd18c /app/views/issues | |
parent | 71351ce232a2e1d7926ec103fc06a32072a7d48f (diff) | |
download | redmine-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.erb | 1 |
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> |