Code

Updated tab locking when in DHCP mode. Closes #780
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 Dec 2009 12:49:27 +0000 (12:49 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 Dec 2009 12:49:27 +0000 (12:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14874 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc
gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc
gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc

index 809cd7292845a80ab061329f0271b5af768cd31f..56a01d94c81ad58ecc6202f6ba29d237c035eb9f 100644 (file)
@@ -1131,6 +1131,13 @@ class printgeneric extends plugin
 
     $this->gotoPrinterPPD = "";
   }
+
+
+  function is_modal_dialog()
+  {
+    return((isset($this->dialog) && $this->dialog) || (isset($this->netConfigDNS->dialog) && $this->netConfigDNS->dialog));
+  }
+
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
index 8ad176317100d74e563ecff88a75258d63f6f23e..ca80b1a7f842bf7005da9178ed995eb8f807dab2 100644 (file)
@@ -736,6 +736,13 @@ class termgeneric extends plugin
       $this->parent->by_object['termstartup']->gotoLdapServers = array();
     }
   }
+
+
+  function is_modal_dialog()
+  {
+    return((isset($this->dialog) && $this->dialog) || (isset($this->netConfigDNS->dialog) && $this->netConfigDNS->dialog));
+  }
+
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
index dd6a3837ef715ace015411585905a38d9e5d4670..07bb9cd6cde29ca57cb4c72309338cd563fc787e 100644 (file)
@@ -749,6 +749,14 @@ class workgeneric extends plugin
       }
     }
   }
+
+
+  function is_modal_dialog()
+  {
+    return((isset($this->dialog) && $this->dialog) || (isset($this->netConfigDNS->dialog) && $this->netConfigDNS->dialog));
+  }
+
+
 }
   // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>