Skip to content

Commit

Permalink
pkp/pkp-lib#10444 Remove modalStyle param value when using AjaxModal
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed Oct 21, 2024
1 parent ce331fe commit 1f2ab1f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 0 additions & 1 deletion controllers/grid/preprintGalleys/PreprintGalleyGridRow.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 0 additions & 1 deletion controllers/grid/settings/sections/SectionGridHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'
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'),
'side-modal',
null,
true
),
__('grid.action.edit'),
Expand Down

0 comments on commit 1f2ab1f

Please sign in to comment.