RSS Feed/News Mention autocomplete doesn't work in some cases where the username contains an '@' character

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,684
Points
823

Reputation:

Consider the username M@tze. You can mention him in a post by typing @M@tze. This works fine.

But the autocomplete doesn't work: No suggestions are shown after you type an @ character followed by the first two characters: @M@.

The problem seems to be that XenForo only looks at the part of the username following the last @ character:
JavaScript:

var lastAt = text.lastIndexOf(this.options.at);

Continue reading...
 
Status
Not open for further replies.
Top