@xuda.io/runtime-bundle 1.0.688 → 1.0.689

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.
@@ -31536,10 +31536,15 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31536
31536
  let elm_to_delete = [];
31537
31537
  const ts = Date.now();
31538
31538
  $.each($elm.find('*'), function (key, val) {
31539
- let new_id = $(val).attr('xu-ui-id') + ts;
31540
- elm_to_delete.push(new_id);
31539
+ let xu_ui_id = $(val).attr('xu-ui-id');
31540
+ if (xu_ui_id) {
31541
+ let new_id = xu_ui_id + ts;
31542
+ elm_to_delete.push(new_id);
31541
31543
 
31542
- $(val).attr('xu-ui-id', new_id).removeData();
31544
+ $(val).attr('xu-ui-id', new_id).removeData();
31545
+ } else {
31546
+ $(val).remove();
31547
+ }
31543
31548
  });
31544
31549
 
31545
31550
  // $elm.empty();