diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-02-13 18:36:47 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-02-13 18:36:47 +0000 |
commit | 5e9666880376b3f53edb95cba77b5642d3cc1810 (patch) | |
tree | c41d0997dbfa7211d3f66ffd0cf3cc2b88d7221e /app/assets/javascripts/profile | |
parent | b35378a938e22f745b6c6ea32b53cb50f9b6c627 (diff) | |
parent | 9493791d1212f484217e74757550353a5ef07dcf (diff) | |
download | gitlab-ce-5e9666880376b3f53edb95cba77b5642d3cc1810.tar.gz |
Merge branch 'option-to-be-notified-of-own-activity' into 'master'
Add option to receive email notifications about your own activity
See merge request !8836
Diffstat (limited to 'app/assets/javascripts/profile')
-rw-r--r-- | app/assets/javascripts/profile/profile.js.es6 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/profile/profile.js.es6 b/app/assets/javascripts/profile/profile.js.es6 index 5aec9c813fe..81374296522 100644 --- a/app/assets/javascripts/profile/profile.js.es6 +++ b/app/assets/javascripts/profile/profile.js.es6 @@ -25,6 +25,7 @@ bindEvents() { $('.js-preferences-form').on('change.preference', 'input[type=radio]', this.submitForm); $('#user_notification_email').on('change', this.submitForm); + $('#user_notified_of_own_activity').on('change', this.submitForm); $('.update-username').on('ajax:before', this.beforeUpdateUsername); $('.update-username').on('ajax:complete', this.afterUpdateUsername); $('.update-notifications').on('ajax:success', this.onUpdateNotifs); |