summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-16 07:38:03 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-16 07:38:03 +0000
commitede29cde28fd5212473c3af03e2c49461f0fe16b (patch)
treed449ea3504ab84f51cf5cc9e2a1e8a1d1fb622e4 /app/controllers
parentd4fdd9c5b976be1cff51e305bf124dc1becd83f9 (diff)
downloadredmine-ede29cde28fd5212473c3af03e2c49461f0fe16b.tar.gz
redmine-ede29cde28fd5212473c3af03e2c49461f0fe16b.zip
Adds a link to remove a subtask from its parent task (#23392).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17747 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/issues_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index 69a947b03..1f037817c 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -177,7 +177,7 @@ class IssuesController < ApplicationController
if saved
render_attachment_warning_if_needed(@issue)
- flash[:notice] = l(:notice_successful_update) unless @issue.current_journal.new_record?
+ flash[:notice] = l(:notice_successful_update) unless @issue.current_journal.new_record? || params[:no_flash]
respond_to do |format|
format.html { redirect_back_or_default issue_path(@issue, previous_and_next_issue_ids_params) }