[regression] - AJAX preview doesn't report missing subject and body
December 11, 2012, 05:48:29 pm
emanuele
Global Moderator
Just noticed, but I'm playing with other things... O:)
Re: [bug] - AJAX preview doesn't report missing subject and body
Reply #2 – December 11, 2012, 07:48:47 pm
I don't think it ever flagged for no subject or body during a preview, those are post2(ing) errors and preview jumps out of post2 purposely before it does those checks (and runs back to post) Seems like it would be easy to add them in to the really_previewing section, in post, at least the basic checks. I don't have a strong opinion on this, but does seem a bit unnecessary for preview ... well maybe adding in the subject flag is not bad idea. ETA: Added in the subject one since it was a one liner
Re: [regression] - AJAX preview doesn't report missing subject and body
Reply #5 – December 12, 2012, 02:53:30 pm
My 2c: non-js users shouldn't expect frills like preview. It's not essential functionality, it's just a luxury that is often not used anyway. If it requires a pile of ugly code that causes problems, I'd drop it.