Merge pull request #18 from normann/master

solving Issue #17
This commit is contained in:
Julian Seidenberg 2013-06-25 15:19:30 -07:00
commit 028d17de57
2 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,10 @@ class DMSDocumentAddController extends LeftAndMain {
public static $tree_class = 'SiteTree'; public static $tree_class = 'SiteTree';
static $allowed_extensions = array(); static $allowed_extensions = array();
private static $allowed_actions = array (
"getEditForm",
);
/** /**
* Add an array of additional allowed extensions * Add an array of additional allowed extensions
* @static * @static

View File

@ -13,6 +13,9 @@
* @package dms * @package dms
*/ */
class DMSUploadField extends UploadField { class DMSUploadField extends UploadField {
private static $allowed_actions = array (
"upload",
);
protected $folderName = 'DMSTemporaryUploads'; protected $folderName = 'DMSTemporaryUploads';