RSS Feed/News Unphrased date-time due to race condition in front-end javascript

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,748
Points
823

Reputation:

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...
 
Status
Not open for further replies.
Top