Code

Updated dhcp dialog handling
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Nov 2010 09:20:06 +0000 (09:20 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Nov 2010 09:20:06 +0000 (09:20 +0000)
-Once the dhcp setting of a client were opened the buttons 'ok' and 'apply' disappeared

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20349 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_servGeneric.inc

index 890fbf07279b46b2ea48fcf4b57153a2311e4ade..d36d22e3fe7b25be0f0dbbf0352497918831037a 100644 (file)
@@ -227,8 +227,9 @@ class servgeneric extends plugin
         $smarty->assign("fai_activated",$this->fai_activated);
 
         $str = $this->netConfigDNS->execute();
-        $this->dialog = $this->is_modal_dialog();
+        $this->dialog = FALSE;
         if(is_object($this->netConfigDNS->dialog)){
+            $this->dialog = TRUE;
             return($str);
         }
         $smarty->assign("netconfig", $str);