When I create a new newsletter node I click "Preview" button first.
But doing this the previos setting of email format (I set it to HTML format) gets lost and if I do not double check email format settings the newsletter will be send in plane text instead of html format.

Using preview button the form does not remember the previosly selected format!

CommentFileSizeAuthor
#1 simplenews_795256_preview.patch4.76 KBmiro_dietiker

Comments

miro_dietiker’s picture

Status: Active » Fixed
StatusFileSize
new4.76 KB

Fixed this issue, committed attached patch to dev. It took a long time to denest the cases of validation, preview, submit and their different pathes in execution... Nodeapi is a mess regarding preview.

I hope this is clean now for all cases you could think of (took a lot of time to test). From new node to updates, with preview, validation errors and submits.

roball’s picture

Priority: Critical » Normal

Can confirm this now works fine with the latest dev. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.