diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_versions/js/merged.json | 6 | ||||
-rw-r--r-- | apps/files_versions/lib/Hooks.php | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/apps/files_versions/js/merged.json b/apps/files_versions/js/merged.json new file mode 100644 index 00000000000..1a7fbad298b --- /dev/null +++ b/apps/files_versions/js/merged.json @@ -0,0 +1,6 @@ +[ + "versionmodel.js", + "versioncollection.js", + "versionstabview.js", + "filesplugin.js" +] diff --git a/apps/files_versions/lib/Hooks.php b/apps/files_versions/lib/Hooks.php index 5181bb1b1ab..3753d8b5016 100644 --- a/apps/files_versions/lib/Hooks.php +++ b/apps/files_versions/lib/Hooks.php @@ -163,9 +163,6 @@ class Hooks { * Load additional scripts when the files app is visible */ public static function onLoadFilesAppScripts() { - \OCP\Util::addScript('files_versions', 'versionmodel'); - \OCP\Util::addScript('files_versions', 'versioncollection'); - \OCP\Util::addScript('files_versions', 'versionstabview'); - \OCP\Util::addScript('files_versions', 'filesplugin'); + \OCP\Util::addScript('files_versions', 'merged'); } } |