summaryrefslogtreecommitdiffstats
path: root/apps/files/js/detailsview.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/detailsview.js')
-rw-r--r--apps/files/js/detailsview.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/files/js/detailsview.js b/apps/files/js/detailsview.js
index f04adcf1292..e53922ebb69 100644
--- a/apps/files/js/detailsview.js
+++ b/apps/files/js/detailsview.js
@@ -300,6 +300,16 @@
addDetailView: function(detailView) {
this._detailFileInfoViews.push(detailView);
this._dirty = true;
+ },
+
+ /**
+ * Returns an array with the added DetailFileInfoViews.
+ *
+ * @return Array<OCA.Files.DetailFileInfoView> an array with the added
+ * DetailFileInfoViews.
+ */
+ getDetailViews: function() {
+ return [].concat(this._detailFileInfoViews);
}
});