diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-05-14 09:00:33 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-05-22 09:42:33 +0300 |
commit | cedbdb296c69d8a91f1369d2abde605670d3b429 (patch) | |
tree | 54eb25a2ec5a700f4e2e3cacd739ace2aead927e /appinfo/app.php | |
parent | d0eba26c7c54b93329b24907240480ecda44dd78 (diff) |
Basic viewer integration
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'appinfo/app.php')
-rw-r--r-- | appinfo/app.php | 5 |
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'); } ); |