Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

tabs implemented in the macro-input-fields dialog-panel of a plugin. Clicked tab opens new window Edited

Hi All,

I am trying to implement tabs in the macro-input-fields dialog-panel of my plugin

So, I followed

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.tab_issue_2.png

The tabs documentation, linked above has a link to 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.tab_issue_1.png

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?


2 answers

0 votes

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.



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.



it was my mistake in the code, so nothing to recommend here :)

Like Shannon Spaniol likes this


Alright, at any rate, glad you figured it out! :) 

Take care, and have a pleasant weekend.



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!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

408 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you