@xuda.io/runtime-bundle 1.0.313 → 1.0.315

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.
@@ -14861,15 +14861,21 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14861
14861
  [`xu-single-view`]: async function () {
14862
14862
  var exist_elm_obj = get_element_info();
14863
14863
  var $div = exist_elm_obj.div;
14864
- _session.running_$div = $div;
14864
+
14865
14865
  if (!exist_elm_obj.div) {
14866
14866
  var $wrapper = $('<div>');
14867
14867
  $div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, 'div', $wrapper, '');
14868
14868
 
14869
- if (paramsP.is_panelP) {
14870
- var id = $div.attr('id');
14869
+ // if (paramsP.is_panelP) {
14870
+ // var id = $div.attr('id');
14871
+ // }
14872
+
14873
+ if (!_session.running_$div) {
14874
+ _session.running_$div = [];
14871
14875
  }
14872
14876
 
14877
+ _session.running_$div.push($wrapper);
14878
+
14873
14879
  if (!$div) return;
14874
14880
 
14875
14881
  if (!REFRESHER_IN_PROGRESS && (paramsP.is_mobile_popover || paramsP.is_mobile_page)) {
@@ -12271,15 +12271,21 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12271
12271
  [`xu-single-view`]: async function () {
12272
12272
  var exist_elm_obj = get_element_info();
12273
12273
  var $div = exist_elm_obj.div;
12274
- _session.running_$div = $div;
12274
+
12275
12275
  if (!exist_elm_obj.div) {
12276
12276
  var $wrapper = $('<div>');
12277
12277
  $div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, 'div', $wrapper, '');
12278
12278
 
12279
- if (paramsP.is_panelP) {
12280
- var id = $div.attr('id');
12279
+ // if (paramsP.is_panelP) {
12280
+ // var id = $div.attr('id');
12281
+ // }
12282
+
12283
+ if (!_session.running_$div) {
12284
+ _session.running_$div = [];
12281
12285
  }
12282
12286
 
12287
+ _session.running_$div.push($wrapper);
12288
+
12283
12289
  if (!$div) return;
12284
12290
 
12285
12291
  if (!REFRESHER_IN_PROGRESS && (paramsP.is_mobile_popover || paramsP.is_mobile_page)) {