From c8f00be75b040f094787d9eacac88ca1ba4d74fa Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 23 Sep 2014 22:23:56 -0700 Subject: [PATCH] monitoring/commands: Fix that removing a comment from the comment list opens and closes the detail area This extends to removing a downtime from the downtime list. refs #6593 --- .../monitoring/application/views/scripts/list/comments.phtml | 2 +- .../monitoring/application/views/scripts/list/downtimes.phtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/application/views/scripts/list/comments.phtml b/modules/monitoring/application/views/scripts/list/comments.phtml index fb3408f16..58fe4abec 100644 --- a/modules/monitoring/application/views/scripts/list/comments.phtml +++ b/modules/monitoring/application/views/scripts/list/comments.phtml @@ -83,7 +83,7 @@ date('H:i', $comment->expiration) ) : $this->translate('This comment does not expire.'); ?> - + populate(array('comment_id' => $comment->id, 'redirect' => $this->url)); diff --git a/modules/monitoring/application/views/scripts/list/downtimes.phtml b/modules/monitoring/application/views/scripts/list/downtimes.phtml index 956427b77..247bf61c9 100644 --- a/modules/monitoring/application/views/scripts/list/downtimes.phtml +++ b/modules/monitoring/application/views/scripts/list/downtimes.phtml @@ -92,7 +92,7 @@ - + populate(array('downtime_id' => $downtime->id, 'redirect' => $this->url));