From 1f2ab1fee78fa60413d116bcf2a5026ddddea950 Mon Sep 17 00:00:00 2001 From: Blesilda Ramirez Date: Mon, 21 Oct 2024 19:12:49 +0800 Subject: [PATCH] pkp/pkp-lib#10444 Remove modalStyle param value when using AjaxModal --- controllers/grid/preprintGalleys/PreprintGalleyGridHandler.php | 1 - controllers/grid/preprintGalleys/PreprintGalleyGridRow.php | 1 - controllers/grid/settings/sections/SectionGridHandler.php | 1 - controllers/grid/settings/sections/SectionGridRow.php | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/controllers/grid/preprintGalleys/PreprintGalleyGridHandler.php b/controllers/grid/preprintGalleys/PreprintGalleyGridHandler.php index d0518e1eda..793ca6c5cf 100644 --- a/controllers/grid/preprintGalleys/PreprintGalleyGridHandler.php +++ b/controllers/grid/preprintGalleys/PreprintGalleyGridHandler.php @@ -157,7 +157,6 @@ public function initialize($request, $args = null) new AjaxModal( $request->getRouter()->url($request, null, null, 'addGalley', null, $this->getRequestArgs()), __('common.addFile'), - 'side-modal' ), __('common.addFile'), 'add_item' diff --git a/controllers/grid/preprintGalleys/PreprintGalleyGridRow.php b/controllers/grid/preprintGalleys/PreprintGalleyGridRow.php index 327e3772ce..8d9bd216fa 100644 --- a/controllers/grid/preprintGalleys/PreprintGalleyGridRow.php +++ b/controllers/grid/preprintGalleys/PreprintGalleyGridRow.php @@ -80,7 +80,6 @@ public function initialize($request, $template = null) new AjaxModal( $router->url($request, null, null, 'editGalley', null, $actionArgs), ($this->_isEditable) ? __('submission.layout.editGalley') : __('submission.layout.viewGalley'), - 'side-modal' ), ($this->_isEditable) ? __('grid.action.edit') : __('grid.action.view'), 'edit' diff --git a/controllers/grid/settings/sections/SectionGridHandler.php b/controllers/grid/settings/sections/SectionGridHandler.php index aaf4b5611d..6d8cbee88d 100644 --- a/controllers/grid/settings/sections/SectionGridHandler.php +++ b/controllers/grid/settings/sections/SectionGridHandler.php @@ -105,7 +105,6 @@ public function initialize($request, $args = null) new AjaxModal( $router->url($request, null, null, 'addSection', null, ['gridId' => $this->getId()]), __('manager.sections.create'), - 'side-modal' ), __('manager.sections.create'), 'add_section' diff --git a/controllers/grid/settings/sections/SectionGridRow.php b/controllers/grid/settings/sections/SectionGridRow.php index 75202dcb02..b28a76d1f7 100644 --- a/controllers/grid/settings/sections/SectionGridRow.php +++ b/controllers/grid/settings/sections/SectionGridRow.php @@ -46,7 +46,7 @@ public function initialize($request, $template = null) new AjaxModal( $router->url($request, null, null, 'editSection', null, ['sectionId' => $sectionId]), __('grid.action.edit'), - 'side-modal', + null, true ), __('grid.action.edit'),