diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-08-13 02:38:14 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-09-16 07:23:25 +0200 |
commit | 83d91ddf20bd2e61b9f01c82817ac8b815d3ac66 (patch) | |
tree | 8acdf4caedd9f867bf73f5d565cb176335e006cc /core/js/share.js | |
parent | b015eff2e92ba83c6bf95c0084e283ddc7a5df70 (diff) | |
download | nextcloud-server-83d91ddf20bd2e61b9f01c82817ac8b815d3ac66.tar.gz nextcloud-server-83d91ddf20bd2e61b9f01c82817ac8b815d3ac66.zip |
further work on reimplementing the dialog layout
Diffstat (limited to 'core/js/share.js')
-rw-r--r-- | core/js/share.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js index db35a2e111c..8d25749a107 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -382,11 +382,13 @@ OC.Share = _.extend(OC.Share, { }); }, showDropDown:function(itemType, itemSource, appendTo, link, possiblePermissions, filename) { + var configModel = new OC.Share.ShareConfigModel(); var attributes = {itemType: itemType, itemSource: itemSource, possiblePermissions: possiblePermissions}; - var itemModel = new OC.Share.ShareItemModel(attributes); + var itemModel = new OC.Share.ShareItemModel(attributes, {configModel: configModel}); var dialogView = new OC.Share.ShareDialogView({ id: 'dropdown', model: itemModel, + configModel: configModel, className: 'drop shareDropDown', attributes: { 'data-item-source-name': filename, |