Fixed xfUniqueId() does not return new unique id if a new id was set

Affected version
2.1.5a

TickTackk

Formerly batpool52!
Fix:
JavaScript:
        xfUniqueId: function()
        {
            var id = this.attr('id');
            if (!id)
            {
                id = 'js-XFUniqueId' + XF.getUniqueCounter();
                this.attr('id', id);
            }

            return id;
        },
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.1.6).

Change log:
Ensure that xfUniqueId() returns the new id attribute value if one was set.
There may be a delay before changes are rolled out to the XenForo Community.
 
Top