@xuda.io/runtime-bundle 1.0.555 → 1.0.557

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.
@@ -8878,6 +8878,8 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
8878
8878
  var _session = SESSION_OBJ[SESSION_ID];
8879
8879
  let _ds = _session?.DS_GLB[panelDivData.xuData.paramsP.dsSessionP];
8880
8880
 
8881
+ if (!_ds) continue;
8882
+
8881
8883
  let prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, _ds.prog_id);
8882
8884
  if (!ignore_disableAutoRefresh && prog_doc.properties.disableAutoRefresh) {
8883
8885
  continue;
@@ -12990,7 +12992,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12990
12992
  $elm.replaceWith(new_$div);
12991
12993
  if (from_panel) {
12992
12994
  const xuPanelWrapper = _.clone(new_$div.data().xuPanelWrapper);
12993
- $elm.parent().data(xuPanelWrapper); //.xuPanelWrapper = xuPanelWrapper;
12995
+ $elm.parent().data().xuPanelWrapper = xuPanelWrapper;
12994
12996
  $elm.replaceWith(new_$div.children());
12995
12997
  }
12996
12998
 
@@ -8879,6 +8879,8 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
8879
8879
  var _session = SESSION_OBJ[SESSION_ID];
8880
8880
  let _ds = _session?.DS_GLB[panelDivData.xuData.paramsP.dsSessionP];
8881
8881
 
8882
+ if (!_ds) continue;
8883
+
8882
8884
  let prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, _ds.prog_id);
8883
8885
  if (!ignore_disableAutoRefresh && prog_doc.properties.disableAutoRefresh) {
8884
8886
  continue;
@@ -10722,7 +10724,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10722
10724
  $elm.replaceWith(new_$div);
10723
10725
  if (from_panel) {
10724
10726
  const xuPanelWrapper = _.clone(new_$div.data().xuPanelWrapper);
10725
- $elm.parent().data(xuPanelWrapper); //.xuPanelWrapper = xuPanelWrapper;
10727
+ $elm.parent().data().xuPanelWrapper = xuPanelWrapper;
10726
10728
  $elm.replaceWith(new_$div.children());
10727
10729
  }
10728
10730