diff options
Diffstat (limited to 'apps/sharebymail/js/settings-admin.js')
-rw-r--r-- | apps/sharebymail/js/settings-admin.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/sharebymail/js/settings-admin.js b/apps/sharebymail/js/settings-admin.js index 35a0e9855ac..a26e687f133 100644 --- a/apps/sharebymail/js/settings-admin.js +++ b/apps/sharebymail/js/settings-admin.js @@ -35,4 +35,12 @@ $(function() { OCP.AppConfig.setValue('sharebymail', 'enforcePasswordProtection', status); }); + $('#replyToInitiator').on('change', function() { + var status = 'no'; + if ($(this).is(':checked')) { + status = 'yes'; + } + OCP.AppConfig.setValue('sharebymail', 'replyToInitiator', status); + }); + }); |