Skip to content

Commit

Permalink
pkp/pkp-lib#10444 Add modalStyle when using AjaxModal modal
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed Oct 11, 2024
1 parent 48db9be commit 200cd44
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function initialize($request, $args = null)
new AjaxModal(
$request->getRouter()->url($request, null, null, 'addGalley', null, $this->getRequestArgs()),
__('common.addFile'),
'modal_add_item'
'side-modal'
),
__('common.addFile'),
'add_item'
Expand Down
2 changes: 1 addition & 1 deletion controllers/grid/preprintGalleys/PreprintGalleyGridRow.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function initialize($request, $template = null)
new AjaxModal(
$router->url($request, null, null, 'editGalley', null, $actionArgs),
($this->_isEditable) ? __('submission.layout.editGalley') : __('submission.layout.viewGalley'),
'modal_edit'
'side-modal'
),
($this->_isEditable) ? __('grid.action.edit') : __('grid.action.view'),
'edit'
Expand Down
2 changes: 1 addition & 1 deletion controllers/grid/settings/sections/SectionGridHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function initialize($request, $args = null)
new AjaxModal(
$router->url($request, null, null, 'addSection', null, ['gridId' => $this->getId()]),
__('manager.sections.create'),
'modal_manage'
'side-modal'
),
__('manager.sections.create'),
'add_section'
Expand Down
2 changes: 1 addition & 1 deletion controllers/grid/settings/sections/SectionGridRow.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, 'editSection', null, ['sectionId' => $sectionId]),
__('grid.action.edit'),
'modal_edit',
'side-modal',
true
),
__('grid.action.edit'),
Expand Down

0 comments on commit 200cd44

Please sign in to comment.