@xuda.io/runtime-bundle 1.0.973 → 1.0.974
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.
|
@@ -27675,29 +27675,31 @@ func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, par
|
|
|
27675
27675
|
return;
|
|
27676
27676
|
}
|
|
27677
27677
|
}
|
|
27678
|
-
calling_job = false;
|
|
27679
|
-
if (calling_job) {
|
|
27680
|
-
var job_index = func.UI.worker.find_job_index(SESSION_ID, calling_job);
|
|
27681
27678
|
|
|
27682
|
-
|
|
27679
|
+
// if (calling_job) {
|
|
27680
|
+
// var job_index = func.UI.worker.find_job_index(SESSION_ID, calling_job);
|
|
27683
27681
|
|
|
27684
|
-
|
|
27685
|
-
if (!UI_WORKER_OBJ.jobs[job_index].splice_count) {
|
|
27686
|
-
UI_WORKER_OBJ.jobs[job_index].splice_count = 0;
|
|
27687
|
-
}
|
|
27688
|
-
UI_WORKER_OBJ.jobs[job_index].splice_count++;
|
|
27689
|
-
UI_WORKER_OBJ.jobs.splice(job_index + UI_WORKER_OBJ.jobs[job_index].splice_count, 0, obj);
|
|
27690
|
-
// }
|
|
27691
|
-
} catch (e) {
|
|
27692
|
-
console.error('bug');
|
|
27693
|
-
// UI_WORKER_OBJ.jobs.splice(0, 0, obj);
|
|
27694
|
-
}
|
|
27695
|
-
} else {
|
|
27696
|
-
// check case of xu-render if queue has child node of the element then delete job
|
|
27697
|
-
// check case of execute attributes that queue not contain the element then add to parallel queue
|
|
27682
|
+
// if (job_index === null || typeof job_index === 'undefined') return;
|
|
27698
27683
|
|
|
27699
|
-
|
|
27700
|
-
|
|
27684
|
+
// try {
|
|
27685
|
+
// if (!UI_WORKER_OBJ.jobs[job_index].splice_count) {
|
|
27686
|
+
// UI_WORKER_OBJ.jobs[job_index].splice_count = 0;
|
|
27687
|
+
// }
|
|
27688
|
+
// UI_WORKER_OBJ.jobs[job_index].splice_count++;
|
|
27689
|
+
// UI_WORKER_OBJ.jobs.splice(job_index + UI_WORKER_OBJ.jobs[job_index].splice_count, 0, obj);
|
|
27690
|
+
// // }
|
|
27691
|
+
// } catch (e) {
|
|
27692
|
+
// console.error('bug');
|
|
27693
|
+
// // UI_WORKER_OBJ.jobs.splice(0, 0, obj);
|
|
27694
|
+
// }
|
|
27695
|
+
// } else {
|
|
27696
|
+
// // check case of xu-render if queue has child node of the element then delete job
|
|
27697
|
+
// // check case of execute attributes that queue not contain the element then add to parallel queue
|
|
27698
|
+
|
|
27699
|
+
// UI_WORKER_OBJ.jobs.push(obj);
|
|
27700
|
+
// }
|
|
27701
|
+
|
|
27702
|
+
UI_WORKER_OBJ.jobs.push(obj);
|
|
27701
27703
|
|
|
27702
27704
|
UI_WORKER_OBJ.num++;
|
|
27703
27705
|
return UI_WORKER_OBJ.num - 1;
|
|
@@ -32135,6 +32137,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32135
32137
|
let $xurender = $('<xurender>')
|
|
32136
32138
|
// .attr('xu-ui-id', nodeP.id + '_' + $elm.data().xuData.recordid)
|
|
32137
32139
|
.attr('xu-ui-id', $elm.attr('xu-ui-id'))
|
|
32140
|
+
.attr('hidden', true)
|
|
32138
32141
|
.appendTo($container)
|
|
32139
32142
|
.hide();
|
|
32140
32143
|
let original_data_obj = {
|