Code

Added parent path ".." if it exists.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Nov 2010 13:50:42 +0000 (13:50 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Nov 2010 13:50:42 +0000 (13:50 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20269 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc
gosa-plugins/groupware/personal/groupware/FolderWidget/class_filterFolderWidget.inc

index 434cb600a3b02681ddf27aaa1b217474c2868afc..886ef33c45015049514db2f0cccb0a599684a8a4 100644 (file)
@@ -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];
index 884397bdfd1c5d976f9de8b15da62e5b3db04a39..a0facc9df3a2266e4209c29e468a476c324d1559 100644 (file)
@@ -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){