From 996639f4fbd4107851efc11ee34b24cead43e790 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 15 Sep 2015 15:29:30 +0200 Subject: More unit tests for share dialog --- apps/files_sharing/js/sharetabview.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'apps/files_sharing') diff --git a/apps/files_sharing/js/sharetabview.js b/apps/files_sharing/js/sharetabview.js index 68288500ae0..e24320604fb 100644 --- a/apps/files_sharing/js/sharetabview.js +++ b/apps/files_sharing/js/sharetabview.js @@ -11,7 +11,6 @@ (function() { var TEMPLATE = '
' + - '' + '
' + '
'; @@ -47,13 +46,7 @@ } if (this.model) { - var owner = this.model.get('shareOwner'); - if (owner === OC.currentUser) { - owner = null; - } - this.$el.html(this.template({ - owner: owner - })); + this.$el.html(this.template()); // TODO: the model should read these directly off the passed fileInfoModel var attributes = { -- cgit v1.2.3