Merge pull request #4040 from nextcloud/merge-js-for-versions
Merge JS for files_versions
This commit is contained in:
commit
3623431ac3
2 changed files with 7 additions and 4 deletions
6
apps/files_versions/js/merged.json
Normal file
6
apps/files_versions/js/merged.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
[
|
||||
"versionmodel.js",
|
||||
"versioncollection.js",
|
||||
"versionstabview.js",
|
||||
"filesplugin.js"
|
||||
]
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue