From: hickert Date: Thu, 8 May 2008 05:53:40 +0000 (+0000) Subject: Updated management classes to re-initialize after apply was pressed. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f368ee1bdf9c61241c8b25a231513052ba7501d5;p=gosa.git Updated management classes to re-initialize after apply was pressed. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10835 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index 3215b18f2..1e2ac8abd 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -882,6 +882,12 @@ class faiManagement extends plugin $this->dialog=FALSE; $this->is_dialog=false; session::un_set('objectinfo'); + }else{ + + /* Reinitialize tab */ + if($this->dialog instanceof tabs){ + $this->dialog->re_init(); + } } } } diff --git a/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc b/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc index abf3a2b4b..9e9d805ab 100644 --- a/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc +++ b/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc @@ -340,12 +340,18 @@ class phoneConferenceManagment extends plugin if ($this->dn != "new"){ del_lock ($this->dn); } - } + del_lock ($this->conftab->dn);; + unset ($this->conftab); + $this->conftab= NULL; + session::un_set('objectinfo'); + }else{ + + /* Reinitialize tab */ + if($this->conftab instanceof tabs){ + $this->conftab->re_init(); + } + } - del_lock ($this->conftab->dn);; - unset ($this->conftab); - $this->conftab= NULL; - session::un_set('objectinfo'); } else { msg_dialog::displayChecks($message); } diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc index 007cc9a7f..9cfbe35ae 100644 --- a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc +++ b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc @@ -196,6 +196,12 @@ class goFonMacro extends plugin unset ($this->macrotabs); $this->macrotabs= NULL; session::un_set('objectinfo'); + }else{ + + /* Reinitialize tab */ + if($this->macrotabs instanceof tabs){ + $this->macrotabs->re_init(); + } } } else { /* Ok. There seem to be errors regarding to the tab data,