mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
Merge pull request #22 from ss23/allowed_actions-3.1
Add allowed_actions to make it work for 3.1
This commit is contained in:
commit
45849c5833
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user