3.1 compat -- Add action to allowed_actions

This commit is contained in:
Stephen Shkardoon 2013-09-10 20:59:59 +12:00
parent c4586c7404
commit 144043c437
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
* Custom ItemRequest class the provides custom delete behaviour for the CMSFields of DMSDocument
*/
class DMSGridFieldDetailForm_ItemRequest extends GridFieldDetailForm_ItemRequest {
private static $allowed_actions = array('ItemEditForm');
function ItemEditForm() {
$form = parent::ItemEditForm();
@ -22,4 +22,4 @@ class DMSGridFieldDetailForm_ItemRequest extends GridFieldDetailForm_ItemRequest
return $form;
}
}
}