@xuda.io/runtime-bundle 1.0.953 → 1.0.955
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
|
@@ -13544,12 +13544,13 @@ func.UI.screen.execute_screen_ready_events = async function (SESSION_ID, paramsP
|
|
|
13544
13544
|
}
|
|
13545
13545
|
};
|
|
13546
13546
|
func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div, jobNoP) {
|
|
13547
|
+
console.log($div.attr('xu-ui-id'));
|
|
13547
13548
|
// await
|
|
13548
13549
|
let retries = 0;
|
|
13549
13550
|
let interval = setInterval(() => {
|
|
13550
13551
|
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
13552
|
retries++;
|
|
13552
|
-
if (retries >
|
|
13553
|
+
if (retries > 100) {
|
|
13553
13554
|
console.warn('deadlock detected for screen ready');
|
|
13554
13555
|
} else {
|
|
13555
13556
|
return $div;
|
|
@@ -11271,12 +11271,13 @@ func.UI.screen.execute_screen_ready_events = async function (SESSION_ID, paramsP
|
|
|
11271
11271
|
}
|
|
11272
11272
|
};
|
|
11273
11273
|
func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div, jobNoP) {
|
|
11274
|
+
console.log($div.attr('xu-ui-id'));
|
|
11274
11275
|
// await
|
|
11275
11276
|
let retries = 0;
|
|
11276
11277
|
let interval = setInterval(() => {
|
|
11277
11278
|
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
11279
|
retries++;
|
|
11279
|
-
if (retries >
|
|
11280
|
+
if (retries > 100) {
|
|
11280
11281
|
console.warn('deadlock detected for screen ready');
|
|
11281
11282
|
} else {
|
|
11282
11283
|
return $div;
|