From: cajus Date: Mon, 7 Dec 2009 12:48:04 +0000 (+0000) Subject: Lock tabs when in DHCP dialog X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1cfd498d5cfd096edaaf5619c7378f32d5d9f347;p=gosa.git Lock tabs when in DHCP dialog git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14873 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_componentGeneric.inc b/gosa-plugins/systems/admin/systems/class_componentGeneric.inc index 13f61c8f6..b3ff77e38 100644 --- a/gosa-plugins/systems/admin/systems/class_componentGeneric.inc +++ b/gosa-plugins/systems/admin/systems/class_componentGeneric.inc @@ -355,6 +355,13 @@ class componentGeneric extends plugin $this->netConfigDNS->ipHostNumber = $source['ipHostNumber'][0]; } } + + + 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/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc index cf5ca5f88..df682a605 100644 --- a/gosa-plugins/systems/admin/systems/class_servGeneric.inc +++ b/gosa-plugins/systems/admin/systems/class_servGeneric.inc @@ -520,6 +520,13 @@ class servgeneric extends plugin "FAIstate" => _("Action flag")) )); } + + + 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: