summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0188e2b)
raw | patch | inline | side by side (parent: 0188e2b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Oct 2010 07:33:47 +0000 (07:33 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Oct 2010 07:33:47 +0000 (07:33 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19961 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc | patch | blob | history |
diff --git a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc
index 4307d73055bb81f5f57f9468b3c6d301380c65e2..3a0fc4403be7041d1f5fe69509de913ea0bc58e6 100644 (file)
if($this->dialog->isNew()){
// Detect the current entry
$base = $this->FolderWidgetListing->getBase();
-
if(isset($this->baseEntryMap[$base])){
$entry = $this->folderList['linear'][$this->baseEntryMap[$base]];
$path = $entry['path'];
$newItem['parentPath'] = $entry['path'];
$newItem['folderType'] = $this->getFolderType($newItem);
$newItem['base'] = $this->pathToDn($newPath);
+
$this->folderList['linear'][$path]['children'][$newPath] = $newItem;
+ $this->folderList['linear'][$newPath] = &$this->folderList['linear'][$path]['children'][$newPath];
+
$this->baseEntryMap[$newItem['base']] = $newPath;
}
}else{