This commit is contained in:
Dennis Eichhorn 2023-05-31 15:59:17 +00:00
parent e300212947
commit f5b1e189b6

View File

@ -48,7 +48,7 @@ final class BackendController extends Controller
public function setUpDrawEditor(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : void
{
/** @var \phpOMS\Model\Html\Head $head */
$head = $response->get('Content')->head;
$head = $response->data['Content']->head;
$head->addAsset(AssetType::JSLATE, 'Modules/Draw/Controller.js?v=1.0.0');
$head->addAsset(AssetType::JSLATE, 'Modules/Draw/Models/DrawType.js?v=1.0.0');
$head->addAsset(AssetType::JSLATE, 'Modules/Draw/Models/Editor.js?v=1.0.0');