Code

Attachmentpool dialog fixed
[gosa.git] / plugins / admin / systems / tabs_workstation.inc
index 13df2dc0f3867b9ec2a00bcc0bc9f58c28c8760b..6913ac91e8ef55b15e15a01ffa4cc8cfa67add30 100644 (file)
@@ -11,10 +11,6 @@ class worktabs extends tabs
   function save_object($save_current= FALSE)
   {
     tabs::save_object($save_current);
-
-    /* Update reference, transfer variables */
-    $this->by_object['termstartup']->gotoTerminalPath=
-      $this->by_object['workgeneric']->gotoTerminalPath;
   }
 
 
@@ -31,6 +27,10 @@ class worktabs extends tabs
     }
 
     tabs::save(TRUE);
+    if(($this->by_object['printgeneric']->is_account==false)&&($this->by_object['printgeneric']->initially_was_account==true)){
+      $this->by_object['printgeneric']->remove_from_parent();
+    }
+
   }
 
 }