Add allowed_actions to make it work for 3.1
This commit is contained in:
parent
c4586c7404
commit
cb96c474da
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue