aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-09-03 15:53:17 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-16 07:23:27 +0200
commitce1b0c650e3a0e4cb701609ee08a13182909219a (patch)
tree917a0b27ab41898fbc37861909489824f49f3392 /apps/files_sharing/js
parent5dc2c35ce5f3023ccea4cc599cf54d6b1c0e2c01 (diff)
downloadnextcloud-server-ce1b0c650e3a0e4cb701609ee08a13182909219a.tar.gz
nextcloud-server-ce1b0c650e3a0e4cb701609ee08a13182909219a.zip
show link share
Diffstat (limited to 'apps/files_sharing/js')
-rw-r--r--apps/files_sharing/js/sharetabview.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_sharing/js/sharetabview.js b/apps/files_sharing/js/sharetabview.js
index 11f25c0c47c..6836107306a 100644
--- a/apps/files_sharing/js/sharetabview.js
+++ b/apps/files_sharing/js/sharetabview.js
@@ -45,7 +45,6 @@
}
if (this.model) {
- console.log(this.model);
var owner = this.model.get('shareOwner');
if (owner === OC.currentUser) {
owner = null;
@@ -59,8 +58,11 @@
itemSource: this.model.get('id'),
possiblePermissions: this.model.get('sharePermissions')
};
- var shareModel = new OC.Share.ShareItemModel(attributes, {configModel: configModel});
var configModel = new OC.Share.ShareConfigModel();
+ var shareModel = new OC.Share.ShareItemModel(attributes, {
+ configModel: configModel,
+ fileInfoModel: this.model
+ });
this._dialog = new OC.Share.ShareDialogView({
configModel: configModel,
model: shareModel