ES5 spaced-comment

This commit is contained in:
Amine Ben hammou
2017-09-21 09:08:52 +00:00
parent 8ebb8e3c02
commit 28504fb5e3
10 changed files with 13 additions and 14 deletions

View File

@@ -47,7 +47,7 @@ define([
return CommunicationComponent.saveNewsletter(json).done(function (response) {
if(response.success !== undefined && response.success === true) {
// TODO: Handle translations
//MailPoet.Notice.success("<?php _e('Newsletter has been saved.'); ?>");
// MailPoet.Notice.success("<?php _e('Newsletter has been saved.'); ?>");
} else if(response.error !== undefined) {
if(response.error.length === 0) {
MailPoet.Notice.error(