mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
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
This commit is contained in:
parent
4258b13d45
commit
c8f00be75b
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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user