diff options
Diffstat (limited to 'core/js/shareconfigmodel.js')
-rw-r--r-- | core/js/shareconfigmodel.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/js/shareconfigmodel.js b/core/js/shareconfigmodel.js index 8729698d136..64f18558267 100644 --- a/core/js/shareconfigmodel.js +++ b/core/js/shareconfigmodel.js @@ -52,6 +52,13 @@ /** * @returns {boolean} */ + isMailNotificationEnabled: function() { + return $('input:hidden[name=mailNotificationEnabled]').val() === 'yes'; + }, + + /** + * @returns {boolean} + */ isShareWithLinkAllowed: function() { return $('#allowShareWithLink').val() === 'yes'; }, |