@xuda.io/runtime-bundle 1.0.949 → 1.0.951
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.
|
@@ -31013,13 +31013,13 @@ func.UI.screen.call_embed = function (SESSION_ID, prog) {
|
|
|
31013
31013
|
func.UI.main.embed_prog_execute(SESSION_ID, prog);
|
|
31014
31014
|
};
|
|
31015
31015
|
func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, jobNoP, $elm_to_search, dsSession_changed, avoid_xu_for_refresh) {
|
|
31016
|
-
if (!_.isEmpty(SCREEN_BLOCKER_OBJ)) {
|
|
31017
|
-
|
|
31018
|
-
|
|
31019
|
-
|
|
31020
|
-
|
|
31021
|
-
|
|
31022
|
-
}
|
|
31016
|
+
// if (!_.isEmpty(SCREEN_BLOCKER_OBJ)) {
|
|
31017
|
+
// // let dom to finish
|
|
31018
|
+
// setTimeout(() => {
|
|
31019
|
+
// func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_arr, jobNoP, $elm_to_search, dsSession_changed);
|
|
31020
|
+
// }, 100);
|
|
31021
|
+
// return;
|
|
31022
|
+
// }
|
|
31023
31023
|
UI_WORKER_OBJ.cache = {};
|
|
31024
31024
|
const _session = SESSION_OBJ[SESSION_ID];
|
|
31025
31025
|
if (glb.DEBUG_MODE) {
|
|
@@ -33235,7 +33235,7 @@ func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div,
|
|
|
33235
33235
|
let interval = setInterval(() => {
|
|
33236
33236
|
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')) {
|
|
33237
33237
|
retries++;
|
|
33238
|
-
if (retries >
|
|
33238
|
+
if (retries > 1000) {
|
|
33239
33239
|
console.warn('deadlock detected for screen ready');
|
|
33240
33240
|
} else {
|
|
33241
33241
|
return $div;
|