From: cajus Date: Mon, 7 Dec 2009 12:49:27 +0000 (+0000) Subject: Updated tab locking when in DHCP mode. Closes #780 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=17842f971f44c0f41f0e3b54e44da3a6f730c884;p=gosa.git Updated tab locking when in DHCP mode. Closes #780 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14874 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc index 809cd7292..56a01d94c 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc @@ -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: diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc index 8ad176317..ca80b1a7f 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc @@ -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: diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc index dd6a3837e..07bb9cd6c 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc @@ -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: ?>