I am trying to add custom issue tab panel with Ajax loading in Jira server. When custom tab is opened on the screen and the page is loaded, everything is working fine but whenever I change the tab (twice), and reopened the custom tab panel, then tab inside my panel is not working. It seems the problem is event binding for tab selection. My code is here, this is a velocity file that is triggered by custom AbstractIssueTabPanel3 and AbstractIssueAction classes.
After changing the tab and re-opened it, then tabSelect function is working first time. Then after changing the tab and reopened it again, then it does not work.
And also, I use aui-dropdown2 inside the custom tab panel, and it has same problem too. It seems there might be similar problem.
Can you please help with that problem?