diff --git a/apps/files_sharing/js/sharetabview.js b/apps/files_sharing/js/sharetabview.js index 3944293d5c1ea9047410868b44e5c851378aec9f..9b1176dbb9ae7d556251fa905b1d162944e410e0 100644 --- a/apps/files_sharing/js/sharetabview.js +++ b/apps/files_sharing/js/sharetabview.js @@ -24,6 +24,11 @@ id: 'shareTabView', className: 'tab shareTabView', + initialize: function(name, options) { + OCA.Files.DetailTabView.prototype.initialize.call(this, name, options); + OC.Plugins.attach('OCA.Sharing.ShareTabView', this); + }, + template: function(params) { return TEMPLATE; }, @@ -80,6 +85,7 @@ this.$el.empty(); // TODO: render placeholder text? } + this.trigger('rendered'); } });