Remove all success delivery polls
[MAILPOET-2596]
This commit is contained in:
committed by
Jack Kitterhing
parent
3222ec4e16
commit
b287a6e609
@ -335,7 +335,6 @@ Module.SidebarPreviewView = Marionette.View.extend({
|
||||
CommunicationComponent.previewNewsletter(data).always(function () {
|
||||
MailPoet.Modal.loading(false);
|
||||
}).done(function () {
|
||||
var showSuccessDeliveryPoll;
|
||||
MailPoet.Notice.success(
|
||||
MailPoet.I18n.t('newsletterPreviewSent'),
|
||||
{ scroll: true }
|
||||
@ -347,11 +346,6 @@ Module.SidebarPreviewView = Marionette.View.extend({
|
||||
if (App.getConfig().get('validation.validateSPFRecord')) {
|
||||
checkSPFRecord();
|
||||
}
|
||||
showSuccessDeliveryPoll = MailPoet.Poll.successDelivery.canShow('preview');
|
||||
if (showSuccessDeliveryPoll) {
|
||||
MailPoet.Poll.successDelivery.showModal('preview', 'IHedf1');
|
||||
MailPoet.Poll.successDelivery.setPollShown('preview');
|
||||
}
|
||||
}).fail(function (response) {
|
||||
if (response.errors.length > 0) {
|
||||
MailPoet.Notice.error(
|
||||
|
Reference in New Issue
Block a user