I want to put a label to the operations-delete section but with AJS append call. My code is the following at the moment, but the label not appearing under the delete button:
AJS.$('#operations-delete').append('<li class="aui-list-item"><a href="#" id="my_web_item_link" tabindex="-1"><span class="trigger-label">Push me</span></a></li>');
Can you help me with this? I dont know what the concrete attributes are to write before the append section.
You don't have to use the AJS...
Just do it like:
Often you just use the wrong scope / timing in JS and something is "undefined" at the time it should be executed.
Thank your very much! It was'nt that easy but with your function calling i could solve my problem. Here is my latest version of the code:
$('#opsbar-operations_more_drop').append('<div class="aui-dropdown2-section"><ul><li class="aui-list-item"><a href="#" id="listDialog"><span class="trigger-label">PD rendering</span></a></li></ul></div>');
The Jira Software Cloud Team has been busy working on a simple, secure, and reliable way to integrate your build and deployment information from Jenkins with Jira Software Cloud. This means you don’t...
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