diff options
author | MichaIng <micha@dietpi.com> | 2019-12-04 12:42:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-04 12:42:55 +0100 |
commit | 4384806f616cf7b9f6a4492ba2fd094afd064f86 (patch) | |
tree | c653df3fcea2c8fce6101d066e0bf42db8026d6e /apps/files_versions/src/filesplugin.js | |
parent | 5afd7abf4481f019ad0044393b4734645e40f5af (diff) | |
parent | 76b78edd40fcb5dbe7f0434cbc41d2e291acfec1 (diff) | |
download | nextcloud-server-4384806f616cf7b9f6a4492ba2fd094afd064f86.tar.gz nextcloud-server-4384806f616cf7b9f6a4492ba2fd094afd064f86.zip |
Merge branch 'master' into patch-1
Diffstat (limited to 'apps/files_versions/src/filesplugin.js')
-rw-r--r-- | apps/files_versions/src/filesplugin.js | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/apps/files_versions/src/filesplugin.js b/apps/files_versions/src/filesplugin.js index a9457c522d6..e47003d6611 100644 --- a/apps/files_versions/src/filesplugin.js +++ b/apps/files_versions/src/filesplugin.js @@ -9,7 +9,7 @@ */ (function() { - OCA.Versions = OCA.Versions || {}; + OCA.Versions = OCA.Versions || {} /** * @namespace @@ -22,13 +22,12 @@ */ attach: function(fileList) { if (fileList.id === 'trashbin' || fileList.id === 'files.public') { - return; + return } - fileList.registerTabView(new OCA.Versions.VersionsTabView('versionsTabView', {order: -10})); + fileList.registerTabView(new OCA.Versions.VersionsTabView('versionsTabView', { order: -10 })) } - }; -})(); - -OC.Plugins.register('OCA.Files.FileList', OCA.Versions.Util); + } +})() +OC.Plugins.register('OCA.Files.FileList', OCA.Versions.Util) |