From 0a1b7806002b4a471e504239408fb0d5e0d688c6 Mon Sep 17 00:00:00 2001 From: Ian Patel Date: Tue, 25 Feb 2020 16:31:59 +1300 Subject: [PATCH] Fixed typo --- src/SingleObjectAdmin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SingleObjectAdmin.php b/src/SingleObjectAdmin.php index 2ea04cb..7cbb43a 100644 --- a/src/SingleObjectAdmin.php +++ b/src/SingleObjectAdmin.php @@ -35,7 +35,7 @@ class SingleObjectAdmin extends LeftAndMain implements PermissionProvider private static $allowed_actions = [ 'EditForm' ]; - + /** * @config * @var array Allows developers to create adaptations to this plugin by giving a class name top-level uri access @@ -91,7 +91,7 @@ public function getCurrentObject() */ public function getCMSActions() { - $actions = new FieldList(FormAction::create('doSave', 'Save')->addExtraClass('btn-primary font-ic1on-save')); + $actions = new FieldList(FormAction::create('doSave', 'Save')->addExtraClass('btn-primary font-icon-save')); $this->extend('updateCMSActions', $actions); @@ -312,7 +312,7 @@ public function Link($action = null) { $allowedPlugins = $this->config()->get('plugins'); $allowedPlugins[] = SingleObjectAdmin::class; - + $this->extend('updateAllowedPlugins', $allowedPlugins); // LeftAndMain methods have a top-level uri access