fix preview/compile ajax calls

This commit is contained in:
Andy Miller
2020-04-19 18:37:30 -06:00
parent 87611ad893
commit 009c89482e

View File

@@ -2164,7 +2164,7 @@ class AdminController extends AdminBaseController
}
$preview = $this->data['preview'] ?? false;
$data = ['color_scheme' => $this->data['color_scheme'] ?? null];
$data = ['color_scheme' => $this->data['whitebox']['color_scheme'] ?? null];
if ($preview) {
// send through some tmp filenames