From 6337d5da950e1905a986a6bd6bbeaae383099ed4 Mon Sep 17 00:00:00 2001 From: Blesilda Ramirez Date: Tue, 8 Oct 2024 20:06:23 +0800 Subject: [PATCH] pkp/pkp-lib#10444 Add modalStyle when using RemoteActionConfirmationModal modal --- .../grid/settings/sections/SectionGridCellProvider.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/controllers/grid/settings/sections/SectionGridCellProvider.php b/controllers/grid/settings/sections/SectionGridCellProvider.php index 592077c12b2..7ae745bd508 100644 --- a/controllers/grid/settings/sections/SectionGridCellProvider.php +++ b/controllers/grid/settings/sections/SectionGridCellProvider.php @@ -68,7 +68,8 @@ public function getCellActions($request, $row, $column, $position = GridHandler: 'activateSection', null, ['sectionKey' => $row->getId()] - ) + ), + 'primary' ) )]; } else { @@ -85,7 +86,8 @@ public function getCellActions($request, $row, $column, $position = GridHandler: 'deactivateSection', null, ['sectionKey' => $row->getId()] - ) + ), + 'negative' ) )]; }