Merge pull request #4040 from nextcloud/merge-js-for-versions

Merge JS for files_versions
This commit is contained in:
Lukas Reschke 2017-03-24 21:11:58 +01:00 committed by GitHub
commit 3623431ac3
2 changed files with 7 additions and 4 deletions

View File

@ -0,0 +1,6 @@
[
"versionmodel.js",
"versioncollection.js",
"versionstabview.js",
"filesplugin.js"
]

View File

@ -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');
}
}