mirror of
https://github.com/Karaka-Management/oms-Comments.git
synced 2026-02-16 09:18:43 +00:00
Use js modules
This commit is contained in:
parent
d68aad434d
commit
4319357c58
|
|
@ -44,7 +44,7 @@ final class BackendController extends Controller
|
||||||
public function setUpCommentEditor(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
|
public function setUpCommentEditor(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
|
||||||
{
|
{
|
||||||
$head = $response->get('Content')->getData('head');
|
$head = $response->get('Content')->getData('head');
|
||||||
$head->addAsset(AssetType::JS, '/Modules/Editor/Controller.js');
|
$head->addAsset(AssetType::JS, '/Modules/Editor/Controller.js', ['type' => 'module']);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user