From d7815003214174dc53871a131e09308b4ecd0d0a Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Mon, 13 Apr 2015 15:14:36 -0700 Subject: [PATCH] Fixed #2577: added feedback to diplomat email subscribe, takes you to Diplomat page afterward. --- app/views/core/DiplomatSuggestionModal.coffee | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/views/core/DiplomatSuggestionModal.coffee b/app/views/core/DiplomatSuggestionModal.coffee index 8a271ba44..320ce12bf 100644 --- a/app/views/core/DiplomatSuggestionModal.coffee +++ b/app/views/core/DiplomatSuggestionModal.coffee @@ -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"