aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/sharebreadcrumbview.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/js/sharebreadcrumbview.js')
-rw-r--r--apps/files_sharing/js/sharebreadcrumbview.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/files_sharing/js/sharebreadcrumbview.js b/apps/files_sharing/js/sharebreadcrumbview.js
index d29ba9d05dc..e8357bcbdef 100644
--- a/apps/files_sharing/js/sharebreadcrumbview.js
+++ b/apps/files_sharing/js/sharebreadcrumbview.js
@@ -34,6 +34,14 @@
},
_dirInfo: undefined,
_template: undefined,
+
+ /** @type OCA.Sharing.ShareTabView */
+ _shareTab: undefined,
+
+ initialize: function(options) {
+ this._shareTab = options.shareTab;
+ },
+
template: function(data) {
if (!this._template) {
this._template = Handlebars.compile(TEMPLATE);
@@ -68,6 +76,9 @@
dirInfo: self._dirInfo
});
});
+ this._shareTab.on('sharesChanged', function(shareModel) {
+ alert('aaoobb');
+ });
OCA.Files.App.fileList.showDetailsView(fileInfoModel, 'shareTabView');
}
});