From 5310c5d764938bcca53eb58cbaeede1367370c6f Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 20 Nov 2007 10:49:37 +0000 Subject: [PATCH] Hide save/cancel buttons when editing dhcp option git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7823 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_systemManagement.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc index 42addca64..0ee9980ea 100644 --- a/plugins/admin/systems/class_systemManagement.inc +++ b/plugins/admin/systems/class_systemManagement.inc @@ -839,7 +839,8 @@ class systems extends plugin if($dia === TRUE || is_object($dia)){ $dialog = TRUE; } - }elseif(isset($this->systab->by_object[$this->systab->current]->netConfigDNS) && + } + if(isset($this->systab->by_object[$this->systab->current]->netConfigDNS) && $this->systab->by_object[$this->systab->current]->netConfigDNS->dialog){ $dialog = TRUE; } -- 2.30.2