mirror of
https://github.com/Karaka-Management/oms-Comments.git
synced 2026-02-12 15:38:41 +00:00
fix bugs
This commit is contained in:
parent
0d98e09fcb
commit
4e03ac5293
|
|
@ -51,7 +51,7 @@ final class BackendController extends Controller
|
||||||
*/
|
*/
|
||||||
public function setUpCommentEditor(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : void
|
public function setUpCommentEditor(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : void
|
||||||
{
|
{
|
||||||
$head = $response->get('Content')->head;
|
$head = $response->data['Content']->head;
|
||||||
$head->addAsset(AssetType::JS, '/Modules/Editor/Controller.js', ['type' => 'module']);
|
$head->addAsset(AssetType::JS, '/Modules/Editor/Controller.js', ['type' => 'module']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user