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

TickTackk

Well-known member
Affected version
2.1.5a
Fix:
JavaScript:
        xfUniqueId: function()
        {
            var id = this.attr('id');
            if (!id)
            {
                id = 'js-XFUniqueId' + XF.getUniqueCounter();
                this.attr('id', id);
            }

            return id;
        },
 
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.
 
Back
Top Bottom