diff --git a/StaticPagesPlugin.php b/StaticPagesPlugin.php index 4064167..d28d2bc 100644 --- a/StaticPagesPlugin.php +++ b/StaticPagesPlugin.php @@ -200,7 +200,7 @@ public function getActions($request, $actionArgs) null, 'management', 'settings', - 'website', + ['website'], ['uid' => uniqid()], // Force reload 'staticPages' // Anchor for tab )), diff --git a/controllers/grid/StaticPageGridHandler.php b/controllers/grid/StaticPageGridHandler.php index 49f7cfc..517ca5b 100644 --- a/controllers/grid/StaticPageGridHandler.php +++ b/controllers/grid/StaticPageGridHandler.php @@ -89,7 +89,6 @@ public function initialize($request, $args = null) new AjaxModal( $router->url($request, null, null, 'addStaticPage'), __('plugins.generic.staticPages.addStaticPage'), - 'modal_add_item' ), __('plugins.generic.staticPages.addStaticPage'), 'add_item' diff --git a/controllers/grid/StaticPageGridRow.php b/controllers/grid/StaticPageGridRow.php index b8857ec..27c7795 100644 --- a/controllers/grid/StaticPageGridRow.php +++ b/controllers/grid/StaticPageGridRow.php @@ -46,7 +46,7 @@ public function initialize($request, $template = null) new AjaxModal( $router->url($request, null, null, 'editStaticPage', null, ['staticPageId' => $staticPageId]), __('grid.action.edit'), - 'modal_edit', + null, true ), __('grid.action.edit'), @@ -63,7 +63,7 @@ public function initialize($request, $template = null) __('common.confirmDelete'), __('grid.action.delete'), $router->url($request, null, null, 'delete', null, ['staticPageId' => $staticPageId]), - 'modal_delete' + 'negative' ), __('grid.action.delete'), 'delete'