summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e444bdd)
raw | patch | inline | side by side (parent: e444bdd)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Oct 2010 14:05:02 +0000 (14:05 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Oct 2010 14:05:02 +0000 (14:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19937 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidgetListing.inc | patch | blob | history |
diff --git a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidgetListing.inc b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidgetListing.inc
index 1d74043dd9da53199d0aaacbb77f024e5e2e6f43..2460a99528282c0c55ae3a41170a5fcb1773d05b 100644 (file)
// once setFolderList is called.
$this->folderSelector = new ItemSelector(array($this->rootBase => '/'),$this->rootBase,$this->rootBase);
parent::__construct($config, $ui, "Folder", $headpage);
+
+ // Register default actions
+ $this->registerAction("new", "newEntry");
+ $this->registerAction("edit", "openEntry"); // !! We forward 'edit' to 'open' to have a department like navigation.
+ $this->registerAction("editEntry", "editEntry");
}
+ function openEntry($action, $targets)
+ {
+ $this->setBase($targets[0]);
+ }
+
function setFolderList($folderList)
{