Prevent overriding email field

[MAILPOET-2981]
This commit is contained in:
Pavel Dohnal
2020-09-07 10:46:43 +02:00
committed by Veljko V
parent 7a6dfd4ad6
commit 7b10c880ff
3 changed files with 3 additions and 1 deletions

View File

@@ -469,6 +469,7 @@ Module.NewsletterPreviewView = Marionette.View.extend({
previewUrl: this.previewUrl,
width: this.width,
height: this.height,
email: this.$('#mailpoet_preview_to_email').val() || window.currentUserEmail,
previewSendingError: this.model.get('previewSendingError'),
sendingPreview: this.model.get('sendingPreview'),
mssKeyPendingApproval: window.mailpoet_mss_key_pending_approval,