Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

aui-inline-dialog2 renamed to aui-inline-dialog in latest aui, how to support old and new versions in addon?

Parag Bhole
Contributor
November 17, 2016

Upgrading from 5.8 to 5.9 guide on https://docs.atlassian.com/aui/latest/docs/upgrade-guide.html mentions the backward incompatible changes, as per that "aui-inline-dialog2" is changed to "aui-inline-dialog". If our server add-on wants to support old JIRA versions (using aui version below 5.9) we can't use this inline dialog as it will fail on one version or other.

Is there alternative to this so that it works in both versions with same code?

1 answer

0 votes
Sean Curtis
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 20, 2016

The only way would be to detect which version of AUI is being used and output the relevant markup.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events