mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Fixed #2577: added feedback to diplomat email subscribe, takes you to Diplomat page afterward.
This commit is contained in:
parent
e7df703d36
commit
d781500321
1 changed files with 8 additions and 1 deletions
|
@ -15,4 +15,11 @@ module.exports = class DiplomatSuggestionModal extends ModalView
|
|||
me.patch()
|
||||
$('#email_translator').prop('checked', 1)
|
||||
@hide()
|
||||
return
|
||||
noty {
|
||||
text: $.i18n.t 'account_settings.saved'
|
||||
layout: 'topCenter'
|
||||
timeout: 5000
|
||||
type: 'information'
|
||||
}
|
||||
Backbone.Mediator.publish 'router:navigate',
|
||||
route: "/contribute/diplomat"
|
||||
|
|
Loading…
Reference in a new issue