diff --git a/trunk/gosa-plugins/goto/personal/environment/class_environment.inc b/trunk/gosa-plugins/goto/personal/environment/class_environment.inc
index c7befa3ce85d78d4f2bcf1bae7727005be865175..9db2031f739271aecabcddac05fc13a3a5384c8e 100644 (file)
/* general settings */
// Sets the attributes which will kept on page reload, which will be saved, ...
- var $CopyPasteVars = array("gotoHotplugDevices","gotoAvailableShares","gotoShareSelections","gotoPrinterSel","gotoProfileFlagL","gotoXResolutions","gotoProfileFlagC","gotoProfileServers","useProfile","is_group","in_dialog","OrigCn","gotoKioskProfile_Server","gotoKioskProfile_Profile");
+ var $CopyPasteVars = array(
+ "gotoProfileServer",
+ "gotoProfileFlags",
+ "gotoProfileFlagC",
+ "gotoProfileFlagL",
+ "useProfile",
+ "gotoHotplugDeviceDN",
+ "gotoXResolution",
+ "gotoProfileQuota",
+ "gotoLogonScripts",
+ "gotoLogonScript",
+ "gotoPrinter",
+ "gotoPrinterSel",
+ "gosaDefaultPrinter",
+ "gotoHotplugDevices",
+ "gotoShares",
+ "gotoShare",
+ "gotoShareSelections",
+ "gotoAvailableShares",
+ "gotoKioskProfile",
+ "gotoKioskProfile_Server",
+ "gotoKioskProfile_Profile",
+ "is_group",
+ "in_dialog",
+ );
var $attributes = array("uid","gotoProfileServer","gotoProfileFlags","gotoHotplugDeviceDN",
"gotoXResolution","gotoProfileQuota",
foreach($this->CopyPasteVars as $attr){
$this->$attr = $o_source->$attr;
}
+
+ /* Force adding the new object to eventually
+ * existing printer objects */
+ $this->add_del_printer_member_was_called = TRUE;
+
}