summaryrefslogtreecommitdiffstats
path: root/core/js/sharedialogshareelistview.js
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-01-08 14:15:06 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-01-08 14:15:06 +0100
commit334a6d57a37de6416bdb70126d446ae66439647c (patch)
treeb3824d69559356f2710cf37757ba20ece05867a6 /core/js/sharedialogshareelistview.js
parent48ae3997d46b1f5393a79499a6520cdf7d0881e1 (diff)
downloadnextcloud-server-334a6d57a37de6416bdb70126d446ae66439647c.tar.gz
nextcloud-server-334a6d57a37de6416bdb70126d446ae66439647c.zip
Check the correct config for displaying the "notify by email" option
Diffstat (limited to 'core/js/sharedialogshareelistview.js')
-rw-r--r--core/js/sharedialogshareelistview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js
index daed8a439bb..5728fbfd210 100644
--- a/core/js/sharedialogshareelistview.js
+++ b/core/js/sharedialogshareelistview.js
@@ -26,7 +26,7 @@
' <div class="avatar {{#if modSeed}}imageplaceholderseed{{/if}}" data-username="{{shareWith}}" {{#if modSeed}}data-seed="{{shareWith}} {{shareType}}"{{/if}}></div>' +
' {{/if}}' +
' <span class="username">{{shareWithDisplayName}}</span>' +
- ' {{#if mailPublicNotificationEnabled}} {{#unless isRemoteShare}}' +
+ ' {{#if mailNotificationEnabled}} {{#unless isRemoteShare}}' +
' <input id="mail-{{cid}}-{{shareWith}}" type="checkbox" name="mailNotification" class="mailNotification checkbox" {{#if wasMailSent}}checked="checked"{{/if}} />' +
' <label for="mail-{{cid}}-{{shareWith}}">{{notifyByMailLabel}}</label>' +
' {{/unless}} {{/if}}' +
@@ -164,7 +164,7 @@
getShareeList: function() {
var universal = {
avatarEnabled: this.configModel.areAvatarsEnabled(),
- mailPublicNotificationEnabled: this.configModel.isMailPublicNotificationEnabled(),
+ mailNotificationEnabled: this.configModel.isMailNotificationEnabled(),
notifyByMailLabel: t('core', 'notify by email'),
unshareLabel: t('core', 'Unshare'),
unshareImage: OC.imagePath('core', 'actions/delete'),