Tangler just lost my post. Now, as a forum veteran, this is nothing new to me. In fact, the first time it happened, I wasn't even really that bothered, and just started retyping my post. Problem is, it happened again, in an even more violent manner. Allow me to explain:
After you Ctrl-Enter in Post Mode, it *clears the edit box* BEFORE fully processing the AJAX call which sends your text to the Tangler server. Under most normal conditions, nobody would notice or care. But under other conditions (like today), Tangler's server may or may not process this AJAX call, or it might take a long time to do so. Unfortunately, I did not preserve a draft in my clipboard (which I often do with normal fora), and so when the AJAX call failed, and/or I sent a fresh HTTP hit for the topic (which failed) and/or I sent a fresh HTTP hit for the Tangler group itself (which [eventually] succeeded) -- well, my post text was lost.
Might I suggest that you NOT JS-clear the edit box until you SUCCESSFULLY post the text! Regardless, I shall remain rather distrustful of the edit box from now on, copying to clipboard on frequent interval.
I might have a less irritated tone on this report, if it weren't for a subsequent hit of the same issue, with (as I said) greater violence.
I first typed "Argh, Tangler lost my post", then Ctrl-Enter'ed that off to the Tangler server. Fine. The Edit Box cleared, and I assumed the one-liner was in transit, or even already posted. So I began retyping my original lost post, and was several lines in... when Tangler's JS decided to ninja me in the spleen and clear the Edit Box as I was typing. Talk about pouring salt on my wounds!
So, please reorder your JS functions, if at all possible, or at least explain why you can't.
Suggested order:
(1) Send AJAX post
(2) Check for success.
(2a) on success: clear edit box.
(2b) on failure: don't touch edit box.
User-angering order:
(1) Clear edit box
(2) send AJAX post
(3) ignore success/failure
Thanks Pistos. You just described the bug that's been bugging me too!
That is annoying. I'll raise it with the dev team and see what improvements we can make to the process. Thanks for your suggestions too, they'll help in looking at various options.
Thank you for your kind attention. ![]()
Awesome post Pistos! Something that bugs hell out of me on quite a few sites actually. Even has me thinking how I can rework my own...
Sending ...