summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e9e3d5b)
raw | patch | inline | side by side (parent: e9e3d5b)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 May 2010 08:31:16 +0000 (08:31 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 May 2010 08:31:16 +0000 (08:31 +0000) |
- Never set InheritXYSync for new objects
- Never disable display properties in object groups
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@18566 594d385d-05f5-0310-b6e9-bd551577e9d8
- Never disable display properties in object groups
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@18566 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc | patch | blob | history |
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 ");