Skip to content

Conversation

@duartegalvao
Copy link
Member

This PR fixes a bug in which two affiliation popups are shown in the Participant Roles when an affiliation link is used and the text overflows the cell:

This was caused by some jQuery code that creates the tooltips for overflown text. Unfortunately, the .text() method also returns any scripts inside, resulting in the tooltip above. These are now disabled for all affiliation links.

@ThiefMaster
Copy link
Member

Is this the weird bug @t4nec0 encountered but none of us were able to reproduce before? Good job in tracking it down!

@duartegalvao
Copy link
Member Author

Is this the weird bug @t4nec0 encountered but none of us were able to reproduce before? Good job in tracking it down!

yep exactly! I finally managed to reproduce it, I didn't realize at first that it only happened when the affiliations were truncated... after that it was easy

@ThiefMaster ThiefMaster merged commit 0714ddf into indico:master Feb 27, 2024
@ThiefMaster ThiefMaster deleted the fix-affiliation-popups branch February 27, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done 🚀

Development

Successfully merging this pull request may close these issues.

2 participants