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
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo/app.php')
-rw-r--r--appinfo/app.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 9785bc7d..087b31de 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -37,14 +37,13 @@ $eventDispatcher = \OC::$server->getEventDispatcher();
$eventDispatcher->addListener(
'OCA\Files::loadAdditionalScripts',
function() {
- \OCP\Util::addScript('richdocuments', 'viewer');
- \OCP\Util::addStyle('richdocuments', 'viewer');
+ \OCP\Util::addScript('richdocuments', 'files');
}
);
$eventDispatcher->addListener(
'OCA\Files_Sharing::loadAdditionalScripts',
function() {
- \OCP\Util::addScript('richdocuments', 'viewer');
+ \OCP\Util::addScript('richdocuments', 'files');
}
);