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 
This commit is contained in:
Eric Lippmann 2014-09-23 22:23:56 -07:00
parent 4258b13d45
commit c8f00be75b
2 changed files with 2 additions and 2 deletions
modules/monitoring/application/views/scripts/list

@ -83,7 +83,7 @@
date('H:i', $comment->expiration)
) : $this->translate('This comment does not expire.'); ?>
</td>
<td style="width: 2em">
<td style="width: 2em" data-base-target="self">
<?php
$delCommentForm = clone $delCommentForm;
$delCommentForm->populate(array('comment_id' => $comment->id, 'redirect' => $this->url));

@ -92,7 +92,7 @@
<?php endif ?>
</small>
</td>
<td style="width: 2em">
<td style="width: 2em" data-base-target="self">
<?php
$delDowntimeForm = clone $delDowntimeForm;
$delDowntimeForm->populate(array('downtime_id' => $downtime->id, 'redirect' => $this->url));