Bug Unphrased date-time due to race condition in front-end javascript

There is a bug in this version
X

Xon

Guest
If you expand the "history" tab on edited content while the page is loading, this will semi-reliably replace a formatted date-time string of Later today at XYZ with later_today_at_x.

This might explain some cases where the alert pop-up shows unphrased date-time strings.

This looks to be a race condition of XF.phrases being populated and the ajax request finishing and calling XF.setupHtmlInsert. I'm fairly sure this should still happen with XF2.3, but I can't test that.

Continue reading...