From: hickert Date: Tue, 20 Nov 2007 10:49:37 +0000 (+0000) Subject: Hide save/cancel buttons when editing dhcp option X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5310c5d764938bcca53eb58cbaeede1367370c6f;p=gosa.git Hide save/cancel buttons when editing dhcp option git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7823 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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; }