Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/AppInfo/Application.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index 5e111c04..285b499a 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -79,7 +79,7 @@ class Application extends App implements IBootstrap {
/** @var IEventDispatcher $eventDispatcher */
$eventDispatcher = $this->getContainer()->getServer()->query(IEventDispatcher::class);
$eventDispatcher->addListener(LoadViewer::class, function () {
- \OCP\Util::addScript('richdocuments', 'viewer');
+ \OCP\Util::addScript('richdocuments', 'richdocuments-viewer');
});
$context->injectFn(function(ITemplateManager $templateManager, IL10N $l10n, IConfig $config) {
@@ -130,12 +130,12 @@ class Application extends App implements IBootstrap {
$context->injectFn(function (SymfonyAdapter $eventDispatcher) {
$eventDispatcher->addListener('OCA\Files::loadAdditionalScripts',
function() {
- \OCP\Util::addScript('richdocuments', 'files');
+ \OCP\Util::addScript('richdocuments', 'richdocuments-files');
}
);
$eventDispatcher->addListener('OCA\Files_Sharing::loadAdditionalScripts',
function() {
- \OCP\Util::addScript('richdocuments', 'files');
+ \OCP\Util::addScript('richdocuments', 'richdocuments-files');
}
);