@xuda.io/runtime-bundle 1.0.688 → 1.0.690
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,16 +31533,21 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
31533
31533
|
const wrapper_data = $wrapper.data();
|
|
31534
31534
|
const refreshed_ds = _ds.dsSession;
|
|
31535
31535
|
|
|
31536
|
-
let elm_to_delete = [];
|
|
31537
|
-
const ts = Date.now();
|
|
31538
|
-
$.each($elm.find('*'), function (key, val) {
|
|
31539
|
-
|
|
31540
|
-
|
|
31541
|
-
|
|
31542
|
-
|
|
31543
|
-
|
|
31536
|
+
// let elm_to_delete = [];
|
|
31537
|
+
// const ts = Date.now();
|
|
31538
|
+
// $.each($elm.find('*'), function (key, val) {
|
|
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);
|
|
31543
|
+
|
|
31544
|
+
// $(val).attr('xu-ui-id', new_id).removeData();
|
|
31545
|
+
// } else {
|
|
31546
|
+
// $(val).remove();
|
|
31547
|
+
// }
|
|
31548
|
+
// });
|
|
31544
31549
|
|
|
31545
|
-
|
|
31550
|
+
$elm.empty();
|
|
31546
31551
|
const new_$div = await func.UI.screen.render_ui_tree(
|
|
31547
31552
|
SESSION_ID,
|
|
31548
31553
|
$elm, // the wrapper
|
|
@@ -31558,10 +31563,10 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
31558
31563
|
elm_data.xuData.$root_container, // the wrapper root container
|
|
31559
31564
|
);
|
|
31560
31565
|
|
|
31561
|
-
// remove old screen content
|
|
31562
|
-
$.each(elm_to_delete, async function (key, val) {
|
|
31563
|
-
|
|
31564
|
-
});
|
|
31566
|
+
// // remove old screen content
|
|
31567
|
+
// $.each(elm_to_delete, async function (key, val) {
|
|
31568
|
+
// $("[xu-ui-id='" + elm_to_delete + "']").remove();
|
|
31569
|
+
// });
|
|
31565
31570
|
|
|
31566
31571
|
return;
|
|
31567
31572
|
}
|