AUI Dialog in Dialog JIRA 5.1

jan.dolezal September 6, 2012

Hi,

im trying to show another dialog with AUI in Edit Dialog (Jira 5.1), but when ill click on button, edit dialog will dissapear.

edit.vm

var popup = new AJS.Dialog(860, 530);
    AJS.$("#test-button").click(function() {
      
        popup.show();
});

Is there any callback in function for edit dialog ? or..

Thanks

1 answer

0 votes
BenA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 9, 2012

You can see examples of stacking AUI dialogs at http://docs.atlassian.com/aui/latest/demo-pages/dialog/dialog-demo.html and full documentation at https://developer.atlassian.com/display/AUI/Dialog

...not sure where to find docs about JIRA's callbacks though.

Quentin Genies April 20, 2013

Same problem here. Did anyone manage to solve that without having to use an external framework? I would like to keep JIRA AUI's design...

Wayne Westmoreland January 6, 2014

Using JIRA 5.2 I could not get this to work. Calling the show method on an AUI dialog while another dialog was showing would close the 1st dialog.

However, it does work with JIRA 6.0 and later, except for the cosmetic issue of the 1st dialog not being dimmed. JIRA 6.0 uses a much later version of AUI (https://developer.atlassian.com/pages/viewpage.action?pageId=1278074)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events