From 144043c4379422eac4f54ffa652c3a27232341fc Mon Sep 17 00:00:00 2001 From: Stephen Shkardoon Date: Tue, 10 Sep 2013 20:59:59 +1200 Subject: [PATCH] 3.1 compat -- Add action to allowed_actions --- code/cms/DMSGridFieldDetailForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/cms/DMSGridFieldDetailForm.php b/code/cms/DMSGridFieldDetailForm.php index 5e432ab..61f36a1 100644 --- a/code/cms/DMSGridFieldDetailForm.php +++ b/code/cms/DMSGridFieldDetailForm.php @@ -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; } -} \ No newline at end of file +}