mirror of
https://github.com/Karaka-Management/oms-Draw.git
synced 2026-01-11 14:28:40 +00:00
fix bugs
This commit is contained in:
parent
e300212947
commit
f5b1e189b6
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user