Fixed #2577: added feedback to diplomat email subscribe, takes you to Diplomat page afterward.

This commit is contained in:
Nick Winter 2015-04-13 15:14:36 -07:00
parent e7df703d36
commit d781500321

View file

@ -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"