@xuda.io/runtime-bundle 1.0.955 → 1.0.956
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,11 +13544,12 @@ 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
|
+
// console.log($div.attr('xu-ui-id'));
|
|
13548
|
+
|
|
13548
13549
|
// await
|
|
13549
13550
|
let retries = 0;
|
|
13550
13551
|
let interval = setInterval(() => {
|
|
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')) {
|
|
13552
|
+
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') && $div.attr('xu-ui-id')) {
|
|
13552
13553
|
retries++;
|
|
13553
13554
|
if (retries > 100) {
|
|
13554
13555
|
console.warn('deadlock detected for screen ready');
|
|
@@ -11271,11 +11271,12 @@ 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
|
+
// console.log($div.attr('xu-ui-id'));
|
|
11275
|
+
|
|
11275
11276
|
// await
|
|
11276
11277
|
let retries = 0;
|
|
11277
11278
|
let interval = setInterval(() => {
|
|
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')) {
|
|
11279
|
+
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') && $div.attr('xu-ui-id')) {
|
|
11279
11280
|
retries++;
|
|
11280
11281
|
if (retries > 100) {
|
|
11281
11282
|
console.warn('deadlock detected for screen ready');
|