mirror of https://github.com/nextcloud/bookmarks
Fix flow.js script name
fixes #2058 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
b6f7a45393
commit
6257052c70
|
@ -74,12 +74,12 @@ class CreateBookmark implements IOperation {
|
|||
$dispatcher->addListener(RegisterOperationsEvent::class, static function (RegisterOperationsEvent $event) {
|
||||
$operation = OC::$server->query(CreateBookmark::class);
|
||||
$event->registerOperation($operation);
|
||||
Util::addScript('bookmarks', 'flow');
|
||||
Util::addScript('bookmarks', 'bookmarks-flow');
|
||||
});
|
||||
$dispatcher->addListener(RegisterEntitiesEvent::class, static function (RegisterEntitiesEvent $event) {
|
||||
$entity = OC::$server->query(Bookmark::class);
|
||||
$event->registerEntity($entity);
|
||||
Util::addScript('bookmarks', 'flow');
|
||||
Util::addScript('bookmarks', 'bookmarks-flow');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue