aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-09-15 15:29:30 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-16 07:23:29 +0200
commit996639f4fbd4107851efc11ee34b24cead43e790 (patch)
tree9351ddf424d608b71ecf50715105b7af1131487d /apps
parent886f1ed660e91edb8f370cf711ed395fdff7dc30 (diff)
downloadnextcloud-server-996639f4fbd4107851efc11ee34b24cead43e790.tar.gz
nextcloud-server-996639f4fbd4107851efc11ee34b24cead43e790.zip
More unit tests for share dialog
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/js/sharetabview.js9
1 files changed, 1 insertions, 8 deletions
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 =
'<div>' +
- '<ul>{{#if owner}}<li>Owner: {{owner}}</li>{{/if}}</ul>' +
'<div class="dialogContainer"></div>' +
'</div>';
@@ -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 = {