@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.
@@ -11288,28 +11288,21 @@
11288
11288
  };
11289
11289
  _proto.renderErrorState = function renderErrorState(extension) {
11290
11290
  var $dialog;
11291
- if (HostApi$1.getBooleanFeatureFlag('acjs-iframe-allowlist-dialog-flexibility')) {
11292
- var ext = this.getByExtension({
11293
- addon_key: extension.addon_key,
11294
- key: extension.key
11295
- });
11296
- if (ext.length === 0) {
11297
- var dialogs = $('.' + DIALOG_CLASS).toArray();
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 = this.getByExtension({
11310
- addon_key: extension.addon_key,
11311
- key: extension.key
11312
- })[0].$el;
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.208';
13877
+ window._AP.version = '5.3.209';
13885
13878
  }
13886
13879
  simpleXDM.defineModule('messages', messages);
13887
13880
  simpleXDM.defineModule('flag', flag);
@@ -1373,7 +1373,7 @@ var AP = (function () {
1373
1373
  _this._eventHandlers = {};
1374
1374
  _this._pendingCallbacks = {};
1375
1375
  _this._keyListeners = [];
1376
- _this._version = '5.3.208';
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.208';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlassian/atlassian-connect-js",
3
- "version": "5.3.208",
3
+ "version": "5.3.209",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Atlassian Connect JavaScript bridge",
6
6
  "main": "dist/connect-host.js",
@@ -280,32 +280,23 @@ class Dialog {
280
280
  renderErrorState(extension) {
281
281
  let $dialog;
282
282
 
283
- if (
284
- HostApi.getBooleanFeatureFlag('acjs-iframe-allowlist-dialog-flexibility')
285
- ) {
286
- const ext = this.getByExtension({
287
- addon_key: extension.addon_key,
288
- key: extension.key,
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 = this.getByExtension({
306
- addon_key: extension.addon_key,
307
- key: extension.key,
308
- })[0].$el;
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