Hi All,
I am trying to implement tabs in the macro-input-fields dialog-panel of my plugin
So, I followed https://docs.atlassian.com/aui/7.9.9/docs/tabs.html
The tabs appear in the panel, however, those do not switch properly. Instead, when you click a tab menu item, a new window gets opened.
The tabs documentation, linked above has a link to jsfiddle.net where the example and my code works fine.
The tabs are appended after the document loaded and I do call AJS.tabs.setup() after the append and see that my tabs get initialized and get aui-tab-events-bound=true property.
Could someone please advise what I could miss?
I tried on v 5.6.3 and 6.12.0 - with the same results. Should I include some additional js dependencies maybe?
Hi Shannon! Thank you! I already managed with this, so, can be closed
Thank you for letting me know, George. You can feel free to share with us what the solution was, in case some users do happen upon this and want to know how to do the same.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it was my mistake in the code, so nothing to recommend here :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
George,
Alright, at any rate, glad you figured it out! :)
Take care, and have a pleasant weekend.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shannon!
Thank you!
So, the only thing required was unbinding the Atlassian 'click' event from the tabs anchors:
$("#my-tabs-id > ul > li > a").off('click');
Have a great weekend too!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello George,
Thank you for contacting us, and I apologize for the lack of response you've received here on the Community.
My recommendation would be to raise the same question on our Atlassian Developer Community. The difference with that Community is that questions are related to developing for Atlassian software, such as add-ons. Whereas with this Community, it's mostly end-users who aren't as familiar with the subject.
Let me know if you have any trouble.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.