From: hickert Date: Thu, 18 Nov 2010 13:50:42 +0000 (+0000) Subject: Added parent path ".." if it exists. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c28cfb0c3b8207a8aa778f114286326aa699233b;p=gosa.git Added parent path ".." if it exists. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20269 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc index 434cb600a..886ef33c4 100644 --- a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc +++ b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc @@ -220,7 +220,7 @@ class FolderWidget extends plugin $current[$entryPath]['acls'] = array(); $current[$entryPath]['type'] = 'manual'; $current[$entryPath]['base'] = $entryBase; - $current[$entryPath]['parentPath'] = $entryPath; + $current[$entryPath]['parentPath'] = $parentPath; $current[$entryPath]['folderType'] = $this->getFolderType($current[$entryPath]); $this->folderList['linear'][$entryPath] = &$current[$entryPath]; diff --git a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_filterFolderWidget.inc b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_filterFolderWidget.inc index 884397bdf..a0facc9df 100644 --- a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_filterFolderWidget.inc +++ b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_filterFolderWidget.inc @@ -26,7 +26,7 @@ class filterFolderWidget { $ret = array(); if(isset($data['linear'][$parent]) && !empty($parent)){ $item = $data['linear'][$parent]; - $item['name'] = '.'; + $item['name'] = '..'; filterFolderWidget::addEntry($ret, $item, FALSE, $filter); } foreach($items as $item){