@xuda.io/runtime-bundle 1.0.696 → 1.0.698
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.
|
@@ -31533,21 +31533,22 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
31533
31533
|
if ($elm?.length) {
|
|
31534
31534
|
const elm_data = $elm.data();
|
|
31535
31535
|
const $wrapper = $elm.parent();
|
|
31536
|
-
const wrapper_data = $wrapper.data();
|
|
31536
|
+
// const wrapper_data = $wrapper.data();
|
|
31537
31537
|
const refreshed_ds = _ds.dsSession;
|
|
31538
31538
|
|
|
31539
31539
|
// let elm_to_delete = [];
|
|
31540
31540
|
// const ts = Date.now();
|
|
31541
|
-
// $.each($elm.find('*'), function (key, val) {
|
|
31541
|
+
// $.each($elm.find('xu-root-component-' + SESSION_ID).find('*'), function (key, val) {
|
|
31542
31542
|
// let xu_ui_id = $(val).attr('xu-ui-id');
|
|
31543
31543
|
// if (xu_ui_id) {
|
|
31544
31544
|
// let new_id = xu_ui_id + ts;
|
|
31545
31545
|
// elm_to_delete.push(new_id);
|
|
31546
31546
|
|
|
31547
31547
|
// $(val).attr('xu-ui-id', new_id).removeData();
|
|
31548
|
-
// } else {
|
|
31549
|
-
// $(val).remove();
|
|
31550
31548
|
// }
|
|
31549
|
+
// // else {
|
|
31550
|
+
// // $(val).remove();
|
|
31551
|
+
// // }
|
|
31551
31552
|
// });
|
|
31552
31553
|
|
|
31553
31554
|
$elm.empty();
|
|
@@ -33876,7 +33877,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
33876
33877
|
if ($nav && $nav.length) {
|
|
33877
33878
|
// refresh made
|
|
33878
33879
|
} else {
|
|
33879
|
-
$nav = $('<xu-nav>');
|
|
33880
|
+
$nav = $('<xu-nav>'); //.attr('xu-ui-id', SESSION_ID);
|
|
33880
33881
|
$container.append($nav);
|
|
33881
33882
|
func.UI.component.init_xu_nav($container, $nav);
|
|
33882
33883
|
}
|