@atlassian/atlassian-connect-js 5.3.208 → 5.3.209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect-host.js +13 -20
- package/dist/iframe-fedramp.js +1 -1
- package/dist/iframe.js +1 -1
- package/package.json +1 -1
- package/src/host/components/dialog.js +14 -23
package/dist/connect-host.js
CHANGED
|
@@ -11288,28 +11288,21 @@
|
|
|
11288
11288
|
};
|
|
11289
11289
|
_proto.renderErrorState = function renderErrorState(extension) {
|
|
11290
11290
|
var $dialog;
|
|
11291
|
-
|
|
11292
|
-
|
|
11293
|
-
|
|
11294
|
-
|
|
11295
|
-
|
|
11296
|
-
|
|
11297
|
-
|
|
11298
|
-
if (dialogs.length === 0) {
|
|
11299
|
-
return;
|
|
11300
|
-
}
|
|
11301
|
-
$dialog = AJS.dialog2(dialogs[0]).$el;
|
|
11302
|
-
} else {
|
|
11303
|
-
$dialog = ext[0].$el;
|
|
11304
|
-
}
|
|
11305
|
-
if (!$dialog) {
|
|
11291
|
+
var ext = this.getByExtension({
|
|
11292
|
+
addon_key: extension.addon_key,
|
|
11293
|
+
key: extension.key
|
|
11294
|
+
});
|
|
11295
|
+
if (ext.length === 0) {
|
|
11296
|
+
var dialogs = $('.' + DIALOG_CLASS).toArray();
|
|
11297
|
+
if (dialogs.length === 0) {
|
|
11306
11298
|
return;
|
|
11307
11299
|
}
|
|
11300
|
+
$dialog = AJS.dialog2(dialogs[0]).$el;
|
|
11308
11301
|
} else {
|
|
11309
|
-
$dialog =
|
|
11310
|
-
|
|
11311
|
-
|
|
11312
|
-
|
|
11302
|
+
$dialog = ext[0].$el;
|
|
11303
|
+
}
|
|
11304
|
+
if (!$dialog) {
|
|
11305
|
+
return;
|
|
11313
11306
|
}
|
|
11314
11307
|
|
|
11315
11308
|
// Fullscreen dialogs already render a close button in the header
|
|
@@ -13881,7 +13874,7 @@
|
|
|
13881
13874
|
* Add version
|
|
13882
13875
|
*/
|
|
13883
13876
|
if (!window._AP.version) {
|
|
13884
|
-
window._AP.version = '5.3.
|
|
13877
|
+
window._AP.version = '5.3.209';
|
|
13885
13878
|
}
|
|
13886
13879
|
simpleXDM.defineModule('messages', messages);
|
|
13887
13880
|
simpleXDM.defineModule('flag', flag);
|
package/dist/iframe-fedramp.js
CHANGED
|
@@ -1373,7 +1373,7 @@ var AP = (function () {
|
|
|
1373
1373
|
_this._eventHandlers = {};
|
|
1374
1374
|
_this._pendingCallbacks = {};
|
|
1375
1375
|
_this._keyListeners = [];
|
|
1376
|
-
_this._version = '5.3.
|
|
1376
|
+
_this._version = '5.3.209';
|
|
1377
1377
|
_this._apiTampered = undefined;
|
|
1378
1378
|
_this._isSubIframe = _this._topHost !== window.parent;
|
|
1379
1379
|
_this._onConfirmedFns = [];
|
package/dist/iframe.js
CHANGED
|
@@ -1373,7 +1373,7 @@ var AP = (function () {
|
|
|
1373
1373
|
_this._eventHandlers = {};
|
|
1374
1374
|
_this._pendingCallbacks = {};
|
|
1375
1375
|
_this._keyListeners = [];
|
|
1376
|
-
_this._version = '5.3.
|
|
1376
|
+
_this._version = '5.3.209';
|
|
1377
1377
|
_this._apiTampered = undefined;
|
|
1378
1378
|
_this._isSubIframe = _this._topHost !== window.parent;
|
|
1379
1379
|
_this._onConfirmedFns = [];
|
package/package.json
CHANGED
|
@@ -280,32 +280,23 @@ class Dialog {
|
|
|
280
280
|
renderErrorState(extension) {
|
|
281
281
|
let $dialog;
|
|
282
282
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
if (ext.length === 0) {
|
|
291
|
-
const dialogs = $('.' + DIALOG_CLASS).toArray();
|
|
292
|
-
if (dialogs.length === 0) {
|
|
293
|
-
return;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
$dialog = AJS.dialog2(dialogs[0]).$el;
|
|
297
|
-
} else {
|
|
298
|
-
$dialog = ext[0].$el;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
if (!$dialog) {
|
|
283
|
+
const ext = this.getByExtension({
|
|
284
|
+
addon_key: extension.addon_key,
|
|
285
|
+
key: extension.key,
|
|
286
|
+
});
|
|
287
|
+
if (ext.length === 0) {
|
|
288
|
+
const dialogs = $('.' + DIALOG_CLASS).toArray();
|
|
289
|
+
if (dialogs.length === 0) {
|
|
302
290
|
return;
|
|
303
291
|
}
|
|
292
|
+
|
|
293
|
+
$dialog = AJS.dialog2(dialogs[0]).$el;
|
|
304
294
|
} else {
|
|
305
|
-
$dialog =
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
295
|
+
$dialog = ext[0].$el;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
if (!$dialog) {
|
|
299
|
+
return;
|
|
309
300
|
}
|
|
310
301
|
|
|
311
302
|
// Fullscreen dialogs already render a close button in the header
|