diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-09-28 13:30:12 +0300 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-09-28 13:30:12 +0300 |
commit | 5e4a52d3c259e77065dbb5f0766b0d08f2e1babb (patch) | |
tree | 56bc8507631b84c8796f4961d04b278f528f3bad /apps/files_versions | |
parent | 9a010cc8ce281650038cd1444f63a02245eea523 (diff) |
Fix tabs order in files sidebar
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/js/filesplugin.js | 2 | ||||
-rw-r--r-- | apps/files_versions/js/versionstabview.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_versions/js/filesplugin.js b/apps/files_versions/js/filesplugin.js index 42075ce6462..a9457c522d6 100644 --- a/apps/files_versions/js/filesplugin.js +++ b/apps/files_versions/js/filesplugin.js @@ -25,7 +25,7 @@ return; } - fileList.registerTabView(new OCA.Versions.VersionsTabView('versionsTabView')); + fileList.registerTabView(new OCA.Versions.VersionsTabView('versionsTabView', {order: -10})); } }; })(); diff --git a/apps/files_versions/js/versionstabview.js b/apps/files_versions/js/versionstabview.js index f6a6f037988..6dab8014229 100644 --- a/apps/files_versions/js/versionstabview.js +++ b/apps/files_versions/js/versionstabview.js @@ -44,6 +44,7 @@ }, initialize: function() { + OCA.Files.DetailTabView.prototype.initialize.apply(this, arguments); this.collection = new OCA.Versions.VersionCollection(); this.collection.on('request', this._onRequest, this); this.collection.on('sync', this._onEndRequest, this); |