Merge pull request 'Update slide list and edit slide form without page reloads' (#57) from feature/hide-slides into main
Reviewed-on: #57
This commit was merged in pull request #57.
This commit is contained in:
commit
0294744281
9 files changed
+403
-32
No files matched your search
@@ -71,6 +71,10 @@ abstract class AdminAppController extends AppController
|
||||
{
|
||||
parent::beforeRender($event);
|
||||
$this->response = $this->protect($this->response);
|
||||
// plenario.js asks for a fragment to update the open page without reloading it.
|
||||
if ($this->request->getHeaderLine('X-Fragment') !== '') {
|
||||
$this->viewBuilder()->setLayout('fragment');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user