summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 33bcf34)
raw | patch | inline | side by side (parent: 33bcf34)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 19 May 2008 06:07:13 +0000 (06:07 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 19 May 2008 06:07:13 +0000 (06:07 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10941 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_systemManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index 7a71d389bdaeb93daf3b70fc3fe3b390ee549a61..c30b3aa8b62f1e41af81e8d13cc1a5d0df5f3234 100644 (file)
$this->systab->by_object[$tabname]->base = $this->DivListSystem->selectedBase;
$this->systab->base = $this->DivListSystem->selectedBase;
- /*******
- * Set gotoMode to active if we there was an ogroup selected.
- */
- $found = false;
- foreach(array("workgeneric"=>"active","servgeneric"=>"active","termgeneric"=>"active") as $tab => $value){
- if(isset($this->systab->by_object[$tab]->gotoMode)) {
- $found = true;
- $this->systab->by_object[$tab]->gotoMode = $value;
- }
- }
- if(!$found){
- msg_dialog::display(_("Internal error"), _("Cannot set mode to 'active'!"), ERROR_DIALOG);
- }
-
if($selected_group != "none"){
+ /*******
+ * Set gotoMode to active if we there was an ogroup selected.
+ */
+ $found = false;
+ foreach(array("workgeneric"=>"active","servgeneric"=>"active","termgeneric"=>"active") as $tab => $value){
+ if(isset($this->systab->by_object[$tab]->gotoMode)) {
+ $found = true;
+ $this->systab->by_object[$tab]->gotoMode = $value;
+ }
+ }
+ if(!$found){
+ msg_dialog::display(_("Internal error"), _("Cannot set mode to 'active'!"), ERROR_DIALOG);
+ }
+
/*******
* Update object group membership
*/