summaryrefslogtreecommitdiffstats
path: root/apps/files_versions
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-09-28 12:30:12 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-28 12:30:12 +0200
commit5e4a52d3c259e77065dbb5f0766b0d08f2e1babb (patch)
tree56bc8507631b84c8796f4961d04b278f528f3bad /apps/files_versions
parent9a010cc8ce281650038cd1444f63a02245eea523 (diff)
downloadnextcloud-server-5e4a52d3c259e77065dbb5f0766b0d08f2e1babb.tar.gz
nextcloud-server-5e4a52d3c259e77065dbb5f0766b0d08f2e1babb.zip
Fix tabs order in files sidebar
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/js/filesplugin.js2
-rw-r--r--apps/files_versions/js/versionstabview.js1
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);