@xuda.io/runtime-bundle 1.0.952 → 1.0.954
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/js/xuda-runtime-slim.js
CHANGED
|
@@ -13549,7 +13549,7 @@ func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div,
|
|
|
13549
13549
|
let interval = setInterval(() => {
|
|
13550
13550
|
if (!$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-ui-id=${$div.attr('xu-ui-id')}]`).length && !$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-panel-wrapper-id=${$div.attr('xu-ui-id')}]`).length && $div.attr('xu-ui-id')) {
|
|
13551
13551
|
retries++;
|
|
13552
|
-
if (retries >
|
|
13552
|
+
if (retries > 100) {
|
|
13553
13553
|
console.warn('deadlock detected for screen ready');
|
|
13554
13554
|
} else {
|
|
13555
13555
|
return $div;
|
|
@@ -11276,7 +11276,7 @@ func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div,
|
|
|
11276
11276
|
let interval = setInterval(() => {
|
|
11277
11277
|
if (!$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-ui-id=${$div.attr('xu-ui-id')}]`).length && !$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-panel-wrapper-id=${$div.attr('xu-ui-id')}]`).length && $div.attr('xu-ui-id')) {
|
|
11278
11278
|
retries++;
|
|
11279
|
-
if (retries >
|
|
11279
|
+
if (retries > 100) {
|
|
11280
11280
|
console.warn('deadlock detected for screen ready');
|
|
11281
11281
|
} else {
|
|
11282
11282
|
return $div;
|