summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_versions/js')
-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);