diff --git a/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc b/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc
index f42eb7dbd1fabc9f33a204290ba549072476ac21..bf30f119f689b264ef3adbffe77ef2da44c879b9 100644 (file)
if(!empty($this->attrs['gotoXHsync'][0]) && !empty($this->attrs['gotoXVsync'][0])) {
$this->InheritXYSync = FALSE;
}
+ } else {
+ if($this->dn == "new") {
+ $this->InheritXYSync = FALSE;
+ }
}
/* Workaround to fill in inherited values if we've specified an objectclass */
$smarty->assign("AutoSyncCHK"," ");
$smarty->assign("hiddenState","");
}
- if($this->InheritXYSync) {
+ if($this->InheritXYSync && !isset($this->parent->by_object['ogroup'])) {
$smarty->assign("InheritXYSync", " checked ");
$smarty->assign("hiddenState", " disabled ");
$smarty->assign("AutoSynchiddenState", " disabled ");