mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 12:05:56 +00:00
3.1 compat -- Add action to allowed_actions
This commit is contained in:
parent
c4586c7404
commit
144043c437
@ -4,7 +4,7 @@
|
|||||||
* Custom ItemRequest class the provides custom delete behaviour for the CMSFields of DMSDocument
|
* Custom ItemRequest class the provides custom delete behaviour for the CMSFields of DMSDocument
|
||||||
*/
|
*/
|
||||||
class DMSGridFieldDetailForm_ItemRequest extends GridFieldDetailForm_ItemRequest {
|
class DMSGridFieldDetailForm_ItemRequest extends GridFieldDetailForm_ItemRequest {
|
||||||
|
private static $allowed_actions = array('ItemEditForm');
|
||||||
|
|
||||||
function ItemEditForm() {
|
function ItemEditForm() {
|
||||||
$form = parent::ItemEditForm();
|
$form = parent::ItemEditForm();
|
||||||
@ -22,4 +22,4 @@ class DMSGridFieldDetailForm_ItemRequest extends GridFieldDetailForm_ItemRequest
|
|||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user