Skip to content

Commit

Permalink
pkp/pkp-lib#10444 remove modalStyle param when using AjaxModal class
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed Oct 16, 2024
1 parent 37f6375 commit 2baf08f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion controllers/grid/StaticPageGridHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public function initialize($request, $args = null)
new AjaxModal(
$router->url($request, null, null, 'addStaticPage'),
__('plugins.generic.staticPages.addStaticPage'),
'side-modal'
),
__('plugins.generic.staticPages.addStaticPage'),
'add_item'
Expand Down
2 changes: 1 addition & 1 deletion controllers/grid/StaticPageGridRow.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function initialize($request, $template = null)
new AjaxModal(
$router->url($request, null, null, 'editStaticPage', null, ['staticPageId' => $staticPageId]),
__('grid.action.edit'),
'side-modal',
null,
true
),
__('grid.action.edit'),
Expand Down

0 comments on commit 2baf08f

Please sign in to comment.