diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-27 20:07:52 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-27 20:07:52 +0200 |
commit | ba59912072efb1e648e94d4c2cc2c2d0625f74db (patch) | |
tree | a3bcefd71c6e847e95a7cbf9624cef03fdc342c6 /app/assets/javascripts/profile.js.coffee | |
parent | d55ade16861d0700e302f50945560e8570eddcd7 (diff) | |
download | gitlab-ce-ba59912072efb1e648e94d4c2cc2c2d0625f74db.tar.gz |
Prepare UI for notification settings
Diffstat (limited to 'app/assets/javascripts/profile.js.coffee')
-rw-r--r-- | app/assets/javascripts/profile.js.coffee | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/profile.js.coffee b/app/assets/javascripts/profile.js.coffee index 42207a390b3..213133bc965 100644 --- a/app/assets/javascripts/profile.js.coffee +++ b/app/assets/javascripts/profile.js.coffee @@ -15,6 +15,8 @@ $ -> $(this).find('.update-failed').hide() $('.update-username form').on 'ajax:complete', -> - $(this).find('.save-btn').removeAttr('disabled') - $(this).find('.save-btn').removeClass('disabled') + $(this).find('.btn-save').enableButton() $(this).find('.loading-gif').hide() + + $('.update-notifications').on 'ajax:complete', -> + $(this).find('.btn-save').enableButton() |