diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-19 12:51:01 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-26 20:52:36 +0200 |
commit | 57e61250ac6c59fe93c65a95bfd2cb081cd3c34f (patch) | |
tree | ea4b59a13e34dbcd8e4fa355473d44848070aea4 /core/js/sharedialogshareelistview.js | |
parent | b98dfaccd96fb9b0da13bc59f55ed9b61cbbd528 (diff) | |
download | nextcloud-server-57e61250ac6c59fe93c65a95bfd2cb081cd3c34f.tar.gz nextcloud-server-57e61250ac6c59fe93c65a95bfd2cb081cd3c34f.zip |
Remove notify recipient option
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/js/sharedialogshareelistview.js')
-rw-r--r-- | core/js/sharedialogshareelistview.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js index 0125a433a32..9b0d9c8c50e 100644 --- a/core/js/sharedialogshareelistview.js +++ b/core/js/sharedialogshareelistview.js @@ -25,12 +25,6 @@ '<div class="avatar {{#if modSeed}}imageplaceholderseed{{/if}}" data-username="{{shareWith}}" {{#if modSeed}}data-seed="{{shareWith}} {{shareType}}"{{/if}}></div>' + '{{/if}}' + '<span class="has-tooltip username" title="{{shareWith}}">{{shareWithDisplayName}}</span>' + - '{{#if mailNotificationEnabled}} {{#unless isRemoteShare}}' + - '<span class="shareOption">' + - '<input id="mail-{{cid}}-{{shareWith}}" type="checkbox" name="mailNotification" class="mailNotification checkbox" {{#if wasMailSent}}checked="checked"{{/if}} />' + - '<label for="mail-{{cid}}-{{shareWith}}">{{notifyByMailLabel}}</label>' + - '</span>' + - '{{/unless}} {{/if}}' + '<span class="sharingOptionsGroup">' + '{{#if editPermissionPossible}}' + '<span class="shareOption">' + @@ -122,7 +116,6 @@ 'click .unshare': 'onUnshare', 'click .icon-more': 'onToggleMenu', 'click .permissions': 'onPermissionChange', - 'click .mailNotification': 'onSendMailNotification' }, initialize: function(options) { @@ -175,7 +168,6 @@ getShareeList: function() { var universal = { avatarEnabled: this.configModel.areAvatarsEnabled(), - mailNotificationEnabled: this.configModel.isMailNotificationEnabled(), notifyByMailLabel: t('core', 'notify by email'), unshareLabel: t('core', 'Unshare'), canShareLabel: t('core', 'can reshare'), @@ -371,15 +363,6 @@ this.model.updateShare(shareId, {permissions: permissions}); }, - - onSendMailNotification: function(event) { - var $target = $(event.target); - var $li = $(event.target).closest('li[data-share-id]'); - var shareType = $li.data('share-type'); - var shareWith = $li.attr('data-share-with'); - - this.model.sendNotificationForShare(shareType, shareWith, $target.is(':checked')); - } }); OC.Share.ShareDialogShareeListView = ShareDialogShareeListView; |