mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-28 08:46:45 +01:00
fix preview/compile ajax calls
This commit is contained in:
@@ -2164,7 +2164,7 @@ class AdminController extends AdminBaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
$preview = $this->data['preview'] ?? false;
|
$preview = $this->data['preview'] ?? false;
|
||||||
$data = ['color_scheme' => $this->data['color_scheme'] ?? null];
|
$data = ['color_scheme' => $this->data['whitebox']['color_scheme'] ?? null];
|
||||||
|
|
||||||
if ($preview) {
|
if ($preview) {
|
||||||
// send through some tmp filenames
|
// send through some tmp filenames
|
||||||
|
|||||||
Reference in New Issue
Block a user