@xuda.io/runtime-bundle 1.0.788 → 1.0.790
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.
|
@@ -33504,9 +33504,16 @@ func.UI.screen.execute_screen_ready_events = async function (SESSION_ID, paramsP
|
|
|
33504
33504
|
};
|
|
33505
33505
|
func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div, jobNoP) {
|
|
33506
33506
|
// await
|
|
33507
|
-
|
|
33507
|
+
let retries = 0;
|
|
33508
33508
|
let interval = setInterval(() => {
|
|
33509
|
-
if (!$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-ui-id=${$div.attr('xu-ui-id')}]`).length && $div.attr('xu-ui-id'))
|
|
33509
|
+
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')) {
|
|
33510
|
+
retries++;
|
|
33511
|
+
if (retries > 100) {
|
|
33512
|
+
console.error('deadlock detected for screen ready');
|
|
33513
|
+
retries = 0;
|
|
33514
|
+
}
|
|
33515
|
+
return $div;
|
|
33516
|
+
}
|
|
33510
33517
|
|
|
33511
33518
|
clearInterval(interval);
|
|
33512
33519
|
|