summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 570b6d6)
raw | patch | inline | side by side (parent: 570b6d6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 May 2008 05:32:25 +0000 (05:32 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 May 2008 05:32:25 +0000 (05:32 +0000) |
-Call tabs::re_init();
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10832 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10832 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-core/plugins/admin/groups/class_groupManagement.inc b/gosa-core/plugins/admin/groups/class_groupManagement.inc
index b33b5f81f50cc6b3ff8bf7c4e842fee3f3a68def..5cd2c527c7219599b3895f028dca35b61b3228a3 100644 (file)
unset ($this->grouptab);
$this->grouptab= NULL;
session::un_set('objectinfo');
+ }else{
+
+ /* Reinitialize tab */
+ if($this->grouptab instanceof tabs){
+ $this->grouptab->re_init();
+ }
}
} else {
/* Ok. There seem to be errors regarding to the tab data,
diff --git a/gosa-core/plugins/admin/ogroups/class_ogroupManagement.inc b/gosa-core/plugins/admin/ogroups/class_ogroupManagement.inc
index 9d3a67d04faaed23eae805a4503a049321c2cee9..64899b4e4e3e97d873acbaa569cd66e9ecc7a33c 100644 (file)
unset ($this->ogroup);
$this->ogroup= NULL;
session::un_set('objectinfo');
+ }else{
+
+ /* Reinitialize tab */
+ if($this->ogroup instanceof tabs){
+ $this->ogroup->re_init();
+ }
}
} else {
/* Ok. There seem to be errors regarding to the tab data,
diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc
index e459784b26451d60537dcdfdbe38372d750ffc4d..6f7fd1276ab95f2346851300980f53a23c446782 100644 (file)
unset ($this->usertab);
$this->usertab= NULL;
session::un_set('objectinfo');
+ }else{
+
+ /* Reinitialize tab */
+ if($this->usertab instanceof tabs){
+ $this->usertab->re_init();
+ }
}
} else {
/* Ok. There seem to be errors regarding to the tab data,
diff --git a/gosa-plugins/goto/admin/applications/class_applicationManagement.inc b/gosa-plugins/goto/admin/applications/class_applicationManagement.inc
index 6a3cb0a89741ae33aa1e2be44660662173d63fcf..109847bd36e1047dd48cbe9841ed10c8c8b0dbb0 100644 (file)
unset ($this->apptabs);
$this->apptabs= NULL;
session::un_set('objectinfo');
+ }else{
+
+ /* Reinitialize tab */
+ if($this->apptabs instanceof tabs){
+ $this->apptabs->re_init();
+ }
}
} else {
/* Ok. There seem to be errors regarding to the tab data,
diff --git a/gosa-plugins/goto/admin/devices/class_deviceManagement.inc b/gosa-plugins/goto/admin/devices/class_deviceManagement.inc
index 01e68e74ecf48723fba40e533dd150eb2bfbf6d3..d30870d5fcf3443b512f0a60f1acc14e87091866 100644 (file)
unset ($this->devicetabs);
$this->devicetabs= NULL;
session::un_set('objectinfo');
+ }else{
+
+ /* Reinitialize tab */
+ if($this->devicetabs instanceof tabs){
+ $this->devicetabs->re_init();
+ }
}
} else {
/* Ok. There seem to be errors regarding to the tab data,
diff --git a/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc b/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc
index fc6f056068617fce33bad440ecf1db9657b5f94e..037b243439ee35e22ae66211f875ac3911c4882c 100644 (file)
unset ($this->mimetabs);
$this->mimetabs= NULL;
session::un_set('objectinfo');
+ }else{
+
+ /* Reinitialize tab */
+ if($this->mimetabs instanceof tabs){
+ $this->mimetabs->re_init();
+ }
}
} else {
/* Ok. There seem to be errors regarding to the tab data,
diff --git a/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc b/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc
index 241a23ef9b1ba66683f9284159f817aa7cc522db..dd69ef212672992b2b5ee71db66946e096920e56 100644 (file)
$this->sudotabs= NULL;
session::un_set('objectinfo');
}else{
- $this->dn = $this->sudotabs->dn;
- $this->sudotabs= new sudotabs($this->config, $this->config->data['TABS']['SUDOTABS'], $this->dn);
- session::set('objectinfo',$this->dn);
+
+ /* Reinitialize tab */
+ if($this->sudotabs instanceof tabs){
+ $this->sudotabs->re_init();
+ }
}
} else {
/* Ok. There seem to be errors regarding to the tab data,
diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index ff7fc008387e5bc2276ca66d4ea559528178aa73..6bf89fd2fe8963fd76685a470d3dae5f2c7e5652 100644 (file)
session::un_set('objectinfo');
}else{
- /* Reinitialize tab classes, to ensure data consistency
- */
- $this->systab->re_init();
+ /* Reinitialize tab */
+ if($this->systab instanceof tabs){
+ $this->systab->re_init();
+ }
}
} else {
/* Ok. There seem to be errors regarding to the tab data,