@xuda.io/runtime-bundle 1.0.954 → 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,10 +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'));
|
|
13548
|
+
|
|
13547
13549
|
// await
|
|
13548
13550
|
let retries = 0;
|
|
13549
13551
|
let interval = setInterval(() => {
|
|
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')) {
|
|
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')) {
|
|
13551
13553
|
retries++;
|
|
13552
13554
|
if (retries > 100) {
|
|
13553
13555
|
console.warn('deadlock detected for screen ready');
|
|
@@ -11271,10 +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'));
|
|
11275
|
+
|
|
11274
11276
|
// await
|
|
11275
11277
|
let retries = 0;
|
|
11276
11278
|
let interval = setInterval(() => {
|
|
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')) {
|
|
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')) {
|
|
11278
11280
|
retries++;
|
|
11279
11281
|
if (retries > 100) {
|
|
11280
11282
|
console.warn('deadlock detected for screen ready');
|