diff options
author | Richard Macklin <richard.github@nrm.com> | 2017-01-27 01:32:00 -0800 |
---|---|---|
committer | Richard Macklin <richard.github@nrm.com> | 2017-02-01 11:31:22 -0800 |
commit | 530d0fda7b97a9a3d8836a36b02e50bc5d408464 (patch) | |
tree | b9bc6d51266315e7847ac7c1c0271f9b8e65a01c /app/assets/javascripts/profile | |
parent | 3e81bc7b1daec9dfda602165d7e36cf5b6a39e20 (diff) | |
download | gitlab-ce-530d0fda7b97a9a3d8836a36b02e50bc5d408464.tar.gz |
Add checkbox in UI to opt into receiving notifications about your activity
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); |