diff --git a/CustomBlockManagerPlugin.php b/CustomBlockManagerPlugin.php index 7de8848..9d19f7e 100644 --- a/CustomBlockManagerPlugin.php +++ b/CustomBlockManagerPlugin.php @@ -126,7 +126,8 @@ public function getActions($request, $actionArgs): array 'category' => $this->getCategory(), 'action' => 'index' ]), - $this->getDisplayName() + $this->getDisplayName(), + 'side-modal' ); return array_merge([new LinkAction('settings', $ajaxModal, __('plugins.generic.customBlockManager.manage'))], $actions); } diff --git a/controllers/grid/CustomBlockGridRow.php b/controllers/grid/CustomBlockGridRow.php index 3b36bd1..a6fb36b 100644 --- a/controllers/grid/CustomBlockGridRow.php +++ b/controllers/grid/CustomBlockGridRow.php @@ -46,7 +46,7 @@ public function initialize($request, $template = null) new AjaxModal( $router->url($request, null, null, 'editCustomBlock', null, ['blockName' => $blockName]), __('grid.action.edit'), - 'modal_edit', + 'side-modal', true ), __('grid.action.edit'), @@ -63,7 +63,7 @@ public function initialize($request, $template = null) __('common.confirmDelete'), __('grid.action.delete'), $router->url($request, null, null, 'deleteCustomBlock', null, ['blockName' => $blockName]), - 'modal_delete' + 'negative' ), __('grid.action.delete'), 'delete'