diff --git a/code/controllers/AssetAdmin.php b/code/controllers/AssetAdmin.php index 6bfbc76c..e1e0de63 100644 --- a/code/controllers/AssetAdmin.php +++ b/code/controllers/AssetAdmin.php @@ -85,6 +85,15 @@ JS CMSBatchActionHandler::register('delete', 'AssetAdmin_DeleteBatchAction', 'Folder'); } + /** + * Return the root 'asset' folder CMSFields + * + * @return FieldList + */ + public function RootForm() { + return $this->getEditForm(singleton('Folder')); + } + /** * Show the content of the upload iframe. The form is specified by a template. */