mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-09-28 20:29:27 +02:00
MINOR addfield and addoptionfield methods are now in $allowed_actions
This commit is contained in:
parent
2d91f2f456
commit
368211c7e5
@ -7,6 +7,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
class FieldEditor extends FormField {
|
class FieldEditor extends FormField {
|
||||||
|
|
||||||
|
public static $allowed_actions = array(
|
||||||
|
'addfield',
|
||||||
|
'addoptionfield'
|
||||||
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Field Editor Template
|
* Field Editor Template
|
||||||
|
Loading…
Reference in New Issue
Block a user