diff --git a/controllers/grid/catalogEntry/IdentificationCodeGridHandler.php b/controllers/grid/catalogEntry/IdentificationCodeGridHandler.php index b5347d7654a..92321bcb6c7 100644 --- a/controllers/grid/catalogEntry/IdentificationCodeGridHandler.php +++ b/controllers/grid/catalogEntry/IdentificationCodeGridHandler.php @@ -190,7 +190,7 @@ public function initialize($request, $args = null) new AjaxModal( $router->url($request, null, null, 'addCode', null, $actionArgs), __('grid.action.addCode'), - 'modal_add_item' + 'side-modal' ), __('grid.action.addCode'), 'add_item' diff --git a/controllers/grid/catalogEntry/IdentificationCodeGridRow.php b/controllers/grid/catalogEntry/IdentificationCodeGridRow.php index 3444e0d8a5f..d37f39815df 100644 --- a/controllers/grid/catalogEntry/IdentificationCodeGridRow.php +++ b/controllers/grid/catalogEntry/IdentificationCodeGridRow.php @@ -73,7 +73,7 @@ public function initialize($request, $template = null) new AjaxModal( $router->url($request, null, null, 'editCode', null, $actionArgs), __('grid.action.edit'), - 'modal_edit' + 'side-modal' ), __('grid.action.edit'), 'edit' diff --git a/controllers/grid/catalogEntry/MarketsGridHandler.php b/controllers/grid/catalogEntry/MarketsGridHandler.php index a41cd60a29a..ccbb8c72779 100644 --- a/controllers/grid/catalogEntry/MarketsGridHandler.php +++ b/controllers/grid/catalogEntry/MarketsGridHandler.php @@ -192,7 +192,7 @@ public function initialize($request, $args = null) new AjaxModal( $router->url($request, null, null, 'addMarket', null, $actionArgs), __('grid.action.addMarket'), - 'modal_add_item' + 'side-modal' ), __('grid.action.addMarket'), 'add_item' diff --git a/controllers/grid/catalogEntry/MarketsGridRow.php b/controllers/grid/catalogEntry/MarketsGridRow.php index 00d2d233384..98ce450daac 100644 --- a/controllers/grid/catalogEntry/MarketsGridRow.php +++ b/controllers/grid/catalogEntry/MarketsGridRow.php @@ -74,7 +74,7 @@ public function initialize($request, $template = null) new AjaxModal( $router->url($request, null, null, 'editMarket', null, $actionArgs), __('grid.action.edit'), - 'modal_edit' + 'side-modal' ), __('grid.action.edit'), 'edit' diff --git a/controllers/grid/catalogEntry/PublicationDateGridHandler.php b/controllers/grid/catalogEntry/PublicationDateGridHandler.php index b4e9e4b1f09..d3f5dfd55db 100644 --- a/controllers/grid/catalogEntry/PublicationDateGridHandler.php +++ b/controllers/grid/catalogEntry/PublicationDateGridHandler.php @@ -190,7 +190,7 @@ public function initialize($request, $args = null) new AjaxModal( $router->url($request, null, null, 'addDate', null, $actionArgs), __('grid.action.addDate'), - 'modal_add_item' + 'side-modal' ), __('grid.action.addDate'), 'add_item' diff --git a/controllers/grid/catalogEntry/PublicationDateGridRow.php b/controllers/grid/catalogEntry/PublicationDateGridRow.php index 4ffa7f91b61..00ed32ad6cd 100644 --- a/controllers/grid/catalogEntry/PublicationDateGridRow.php +++ b/controllers/grid/catalogEntry/PublicationDateGridRow.php @@ -76,7 +76,7 @@ public function initialize($request, $template = null) new AjaxModal( $router->url($request, null, null, 'editDate', null, $actionArgs), __('grid.action.edit'), - 'modal_edit' + 'side-modal' ), __('grid.action.edit'), 'edit' diff --git a/controllers/grid/catalogEntry/PublicationFormatGridCategoryRow.php b/controllers/grid/catalogEntry/PublicationFormatGridCategoryRow.php index a1c471327d5..2869128e65d 100644 --- a/controllers/grid/catalogEntry/PublicationFormatGridCategoryRow.php +++ b/controllers/grid/catalogEntry/PublicationFormatGridCategoryRow.php @@ -97,7 +97,7 @@ public function initialize($request, $template = null) new AjaxModal( $router->url($request, null, null, 'editFormat', null, $actionArgs), __('grid.action.edit'), - 'modal_edit' + 'side-modal' ), __('grid.action.edit'), 'edit' diff --git a/controllers/grid/catalogEntry/PublicationFormatGridCellProvider.php b/controllers/grid/catalogEntry/PublicationFormatGridCellProvider.php index 54a4a89fd4f..17dc96428ec 100644 --- a/controllers/grid/catalogEntry/PublicationFormatGridCellProvider.php +++ b/controllers/grid/catalogEntry/PublicationFormatGridCellProvider.php @@ -230,7 +230,7 @@ public function getCellActions($request, $row, $column, $position = GridHandler: ] ), __('grid.catalogEntry.approvedRepresentation.title'), - 'modal_approve' + 'side-modal' ), $data->getIsApproved() ? __('submission.complete') : __('submission.incomplete'), $data->getIsApproved() ? 'complete' : 'incomplete', @@ -261,7 +261,7 @@ public function getCellActions($request, $row, $column, $position = GridHandler: 'representationId' => $submissionFile->getData('assocId'), ]), __('editor.monograph.approvedProofs.edit'), - 'edit' + 'side-modal' ), __($salesTypeString), $salesType @@ -288,7 +288,7 @@ public function getCellActions($request, $row, $column, $position = GridHandler: ] ), $title, - 'modal_approve' + 'side-modal' ), $submissionFile->getViewable() ? __('grid.catalogEntry.availableRepresentation.approved') : __('grid.catalogEntry.availableRepresentation.notApproved'), $submissionFile->getViewable() ? 'complete' : 'incomplete', diff --git a/controllers/grid/catalogEntry/PublicationFormatGridHandler.php b/controllers/grid/catalogEntry/PublicationFormatGridHandler.php index b1831df298f..8371e3371ea 100644 --- a/controllers/grid/catalogEntry/PublicationFormatGridHandler.php +++ b/controllers/grid/catalogEntry/PublicationFormatGridHandler.php @@ -170,7 +170,7 @@ public function initialize($request, $args = null) new AjaxModal( $router->url($request, null, null, 'addFormat', null, $actionArgs), __('grid.action.addFormat'), - 'modal_add_item' + 'side-modal' ), __('grid.action.addFormat'), 'add_item' diff --git a/controllers/grid/catalogEntry/PublicationFormatGridRow.php b/controllers/grid/catalogEntry/PublicationFormatGridRow.php index 8f2187d2c1b..17fc09c2ff0 100644 --- a/controllers/grid/catalogEntry/PublicationFormatGridRow.php +++ b/controllers/grid/catalogEntry/PublicationFormatGridRow.php @@ -69,7 +69,7 @@ public function initialize($request, $template = 'controllers/grid/gridRow.tpl') ] )), __('submission.dependentFiles'), - 'modal_edit' + 'side-modal' ), __('submission.dependentFiles'), 'edit' diff --git a/controllers/grid/catalogEntry/RepresentativesGridHandler.php b/controllers/grid/catalogEntry/RepresentativesGridHandler.php index e37cdf33fc2..73f9e2861c7 100644 --- a/controllers/grid/catalogEntry/RepresentativesGridHandler.php +++ b/controllers/grid/catalogEntry/RepresentativesGridHandler.php @@ -127,7 +127,7 @@ public function initialize($request, $args = null) new AjaxModal( $router->url($request, null, null, 'addRepresentative', null, $actionArgs), __('grid.action.addRepresentative'), - 'modal_add_item' + 'side-modal' ), __('grid.action.addRepresentative'), 'add_item' diff --git a/controllers/grid/catalogEntry/RepresentativesGridRow.php b/controllers/grid/catalogEntry/RepresentativesGridRow.php index f671b6f281c..9ec80e6c965 100644 --- a/controllers/grid/catalogEntry/RepresentativesGridRow.php +++ b/controllers/grid/catalogEntry/RepresentativesGridRow.php @@ -68,7 +68,7 @@ public function initialize($request, $template = null) new AjaxModal( $router->url($request, null, null, 'editRepresentative', null, $actionArgs), __('grid.action.edit'), - 'modal_edit' + 'side-modal' ), __('grid.action.edit'), 'edit' diff --git a/controllers/grid/catalogEntry/SalesRightsGridHandler.php b/controllers/grid/catalogEntry/SalesRightsGridHandler.php index 3bce469acf7..0a142c8944d 100644 --- a/controllers/grid/catalogEntry/SalesRightsGridHandler.php +++ b/controllers/grid/catalogEntry/SalesRightsGridHandler.php @@ -190,7 +190,7 @@ public function initialize($request, $args = null) new AjaxModal( $router->url($request, null, null, 'addRights', null, $actionArgs), __('grid.action.addRights'), - 'modal_add_item' + 'side-modal' ), __('grid.action.addRights'), 'add_item' diff --git a/controllers/grid/catalogEntry/SalesRightsGridRow.php b/controllers/grid/catalogEntry/SalesRightsGridRow.php index 88c4e67d1e0..c661bfb317a 100644 --- a/controllers/grid/catalogEntry/SalesRightsGridRow.php +++ b/controllers/grid/catalogEntry/SalesRightsGridRow.php @@ -68,7 +68,7 @@ public function initialize($request, $template = null) new AjaxModal( $router->url($request, null, null, 'editRights', null, $actionArgs), __('grid.action.edit'), - 'modal_edit' + 'side-modal' ), __('grid.action.edit'), 'edit' diff --git a/controllers/grid/settings/series/SeriesGridHandler.php b/controllers/grid/settings/series/SeriesGridHandler.php index 721d77312bf..46fcf4c7efe 100644 --- a/controllers/grid/settings/series/SeriesGridHandler.php +++ b/controllers/grid/settings/series/SeriesGridHandler.php @@ -128,7 +128,7 @@ public function initialize($request, $args = null) new AjaxModal( $router->url($request, null, null, 'addSeries', null, ['gridId' => $this->getId()]), __('grid.action.addSeries'), - 'modal_manage' + 'side-modal' ), __('grid.action.addSeries'), 'add_category' diff --git a/controllers/grid/settings/series/SeriesGridRow.php b/controllers/grid/settings/series/SeriesGridRow.php index 542e8901966..776697dc9d1 100644 --- a/controllers/grid/settings/series/SeriesGridRow.php +++ b/controllers/grid/settings/series/SeriesGridRow.php @@ -46,7 +46,7 @@ public function initialize($request, $template = null) new AjaxModal( $router->url($request, null, null, 'editSeries', null, ['seriesId' => $seriesId]), __('grid.action.edit'), - 'modal_edit', + 'side-modal', true ), __('grid.action.edit'), diff --git a/controllers/grid/users/chapter/ChapterGridCategoryRowCellProvider.php b/controllers/grid/users/chapter/ChapterGridCategoryRowCellProvider.php index 5a5e46eb70a..9db9acd4e16 100644 --- a/controllers/grid/users/chapter/ChapterGridCategoryRowCellProvider.php +++ b/controllers/grid/users/chapter/ChapterGridCategoryRowCellProvider.php @@ -49,7 +49,7 @@ public function getCellActions($request, $row, $column, $position = GridHandler: new AjaxModal( $router->url($request, null, null, 'editChapter', null, $actionArgs), __('submission.chapter.editChapter'), - 'modal_edit' + 'side-modal' ), htmlspecialchars($chapter->getLocalizedTitle()) ) diff --git a/controllers/grid/users/chapter/ChapterGridHandler.php b/controllers/grid/users/chapter/ChapterGridHandler.php index 3ba15bd80dc..b0f116713ee 100644 --- a/controllers/grid/users/chapter/ChapterGridHandler.php +++ b/controllers/grid/users/chapter/ChapterGridHandler.php @@ -151,7 +151,7 @@ public function initialize($request, $args = null) new AjaxModal( $router->url($request, null, null, 'addChapter', null, $actionArgs), __('submission.chapter.addChapter'), - 'modal_add_item' + 'side-modal' ), __('submission.chapter.addChapter'), 'add_item' diff --git a/plugins/blocks/browse/BrowseBlockPlugin.php b/plugins/blocks/browse/BrowseBlockPlugin.php index 8c0ba87dc1b..45a49d72fdb 100644 --- a/plugins/blocks/browse/BrowseBlockPlugin.php +++ b/plugins/blocks/browse/BrowseBlockPlugin.php @@ -65,7 +65,8 @@ public function getActions($request, $actionArgs) 'settings', new AjaxModal( $router->url($request, null, null, 'manage', null, array_merge($actionArgs, ['verb' => 'settings'])), - $this->getDisplayName() + $this->getDisplayName(), + 'side-modal' ), __('manager.plugins.settings'), null