Code

Updated management classes to re-initialize after apply was pressed.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 May 2008 05:53:40 +0000 (05:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 May 2008 05:53:40 +0000 (05:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10835 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiManagement.inc
gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc
gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc

index 3215b18f245e8152438502d57d781080c748bb69..1e2ac8abdd74042ce2f6d7d98ec942d3254b33d4 100644 (file)
@@ -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();
+          }
         }
                        }
                }
index abf3a2b4b1ff10057829f6f5c3be146bbc3ef4ea..9e9d805ab4febc359bb5f096a78f613785692e10 100644 (file)
@@ -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);
       }
index 007cc9a7f26060c5698d48d8ccf6346f0aeddab9..9cfbe35ae1f0cf0744875cdda69677578cc30489 100644 (file)
@@ -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,