[icinga-checkins] icinga.org: icingaweb2/bugfix/remove-large-add-to-menu-tab-11850: Don' t provide the "Add to menu" action for command forms

git at icinga.org git at icinga.org
Tue May 31 15:00:04 CEST 2016


Module: icingaweb2
Branch: bugfix/remove-large-add-to-menu-tab-11850
Commit: ecfc8b0f0a8fd8c69d4331405c6bb6b491286f17
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=ecfc8b0f0a8fd8c69d4331405c6bb6b491286f17

Author: Alexander A. Klimov <alexander.klimov at netways.de>
Date:   Tue May 31 14:56:42 2016 +0200

Don't provide the "Add to menu" action for command forms

refs #11850

---

 .../library/Monitoring/Web/Controller/MonitoredObjectController.php   |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/monitoring/library/Monitoring/Web/Controller/MonitoredObjectController.php b/modules/monitoring/library/Monitoring/Web/Controller/MonitoredObjectController.php
index f7a0b81..f4936fd 100644
--- a/modules/monitoring/library/Monitoring/Web/Controller/MonitoredObjectController.php
+++ b/modules/monitoring/library/Monitoring/Web/Controller/MonitoredObjectController.php
@@ -129,6 +129,7 @@ abstract class MonitoredObjectController extends Controller
         $this->view->form = $form;
         $this->view->object = $this->object;
         $this->view->tabs->remove('dashboard');
+        $this->view->tabs->remove('menu-entry');
         $this->_helper->viewRenderer('partials/command/object-command-form', null, true);
         return $form;
     }



More information about the icinga-checkins mailing list