Is there a way to edit the "Create" button? I want to edit this to always open in a new tab?
Community moderators have prevented the ability to post new answers.
Hi Jennie,
There is a slightly hacky way to do this.
You can put Javascript in the announcement banner which can alter the properties of the button.
Putting the following in the 'Announcement' field works for me. This overrides the behaviour of the create button so that it no longer opens a 'Create Issue' dialogue box. Instead it opens a the 'Create Issue' screen in a new tab.
<script type="text/javascript"> AJS.toInit(function(){ AJS.$('#create_link').removeClass("create-issue"); AJS.$('#create_link').attr("target","_blank"); }); </script>
Hope this helps.
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.