@xuda.io/runtime-bundle 1.0.969 → 1.0.971

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.
@@ -27492,7 +27492,7 @@ func.UI.worker.init = async function (SESSION_ID) {
27492
27492
 
27493
27493
  let last_job_in_queue = 0;
27494
27494
  // let run_stat;
27495
- const job_iterator_old = async function () {
27495
+ const job_iterator2 = async function () {
27496
27496
  let from_job_num_to_run = last_job_in_queue;
27497
27497
  last_job_in_queue = UI_WORKER_OBJ.num - from_job_num_to_run;
27498
27498
 
@@ -27568,14 +27568,16 @@ func.UI.worker.init = async function (SESSION_ID) {
27568
27568
 
27569
27569
  // abort - if active job element exist in the current job ui (parent element changed)
27570
27570
  if (active_job_children_elements.includes(running_xu_ui_id)) {
27571
- $.each(active_job_children_elements, function (key, val) {
27572
- const $elm = $(`[xu-ui-id=${val}]`);
27573
- if (!$elm.length) return true;
27574
- if (!$elm.data().xuData) return true;
27575
- $elm.data().xuData.pending_to_delete = true;
27576
- });
27577
- await func.UI.worker.delete_job(SESSION_ID, running_job_obj.job_num);
27578
- break;
27571
+ if (val.functionP === 'execute_xu_render_attributes') {
27572
+ $.each(active_job_children_elements, function (key, val) {
27573
+ const $elm = $(`[xu-ui-id=${val}]`);
27574
+ if (!$elm.length) return true;
27575
+ if (!$elm.data().xuData) return true;
27576
+ $elm.data().xuData.pending_to_delete = true;
27577
+ });
27578
+ await func.UI.worker.delete_job(SESSION_ID, running_job_obj.job_num);
27579
+ break;
27580
+ }
27579
27581
  }
27580
27582
  }
27581
27583
 
@@ -31304,11 +31306,11 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31304
31306
  performed_render = true;
31305
31307
 
31306
31308
  // mark children items ignore list
31307
- $.each(elem_val.$elm.find('*'), function (key, val) {
31308
- if ($(val).data().xuData) {
31309
- $(val).data().xuData.pending_to_delete = true;
31310
- }
31311
- });
31309
+ // $.each(elem_val.$elm.find('*'), function (key, val) {
31310
+ // if ($(val).data().xuData) {
31311
+ // $(val).data().xuData.pending_to_delete = true;
31312
+ // }
31313
+ // });
31312
31314
 
31313
31315
  if (glb.DEBUG_MODE) {
31314
31316
  console.info('execute_xu_render_attributes', obj);