Fixed XF.flashMessage firing twice on inline tag edit

digitalpoint

Well-known member
Affected version
2.2.12
When you edit tags with the tag link at the top of a thread, the flashMessage, "Your changes have been saved." is displayed twice (not terribly noticeable with the default XF flashMessage because they end up on top of each other). Looks much stranger when you are using an alternate flash message format (that's how I noticed it because I don't have the flash message pinned to the top of the browser window).

You can test it by running this in the console before editing a tag:

JavaScript:
XF.flashMessage_old = XF.flashMessage;XF.flashMessage = function(a,b,c) {console.log('flashMessage fired');XF.flashMessage_old(a,b,c)}

You will see the message about the flash message being fired twice in the console (when it should be once).
 
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.2.13).

Change log:
Only display flash message once when tags are edited
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom