@xuda.io/runtime-bundle 1.0.516 → 1.0.517
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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -12373,6 +12373,12 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
12373
12373
|
|
|
12374
12374
|
try {
|
|
12375
12375
|
// const panelDivData = panel_val.$panel_div.data().xuPanelWrapper.panelDivData;
|
|
12376
|
+
|
|
12377
|
+
// remove old panel content
|
|
12378
|
+
$.each(panel_val.ids, async function (key, val) {
|
|
12379
|
+
$("[xu-ui-id='" + val + "']").remove();
|
|
12380
|
+
});
|
|
12381
|
+
|
|
12376
12382
|
const new_$div = await func.UI.screen.render_ui_tree(
|
|
12377
12383
|
SESSION_ID,
|
|
12378
12384
|
$div_elm, // the wrapper
|
|
@@ -12387,11 +12393,6 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
12387
12393
|
null,
|
|
12388
12394
|
wrapper_data.xuData.$root_container, // the wrapper root container
|
|
12389
12395
|
);
|
|
12390
|
-
|
|
12391
|
-
// // remove old panel content
|
|
12392
|
-
// $.each(panel_val.ids, async function (key, val) {
|
|
12393
|
-
// $("[xu-ui-id='" + val + "']").remove();
|
|
12394
|
-
// });
|
|
12395
12396
|
} catch (error) {
|
|
12396
12397
|
debugger;
|
|
12397
12398
|
}
|
|
@@ -10105,6 +10105,12 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
10105
10105
|
|
|
10106
10106
|
try {
|
|
10107
10107
|
// const panelDivData = panel_val.$panel_div.data().xuPanelWrapper.panelDivData;
|
|
10108
|
+
|
|
10109
|
+
// remove old panel content
|
|
10110
|
+
$.each(panel_val.ids, async function (key, val) {
|
|
10111
|
+
$("[xu-ui-id='" + val + "']").remove();
|
|
10112
|
+
});
|
|
10113
|
+
|
|
10108
10114
|
const new_$div = await func.UI.screen.render_ui_tree(
|
|
10109
10115
|
SESSION_ID,
|
|
10110
10116
|
$div_elm, // the wrapper
|
|
@@ -10119,11 +10125,6 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
10119
10125
|
null,
|
|
10120
10126
|
wrapper_data.xuData.$root_container, // the wrapper root container
|
|
10121
10127
|
);
|
|
10122
|
-
|
|
10123
|
-
// // remove old panel content
|
|
10124
|
-
// $.each(panel_val.ids, async function (key, val) {
|
|
10125
|
-
// $("[xu-ui-id='" + val + "']").remove();
|
|
10126
|
-
// });
|
|
10127
10128
|
} catch (error) {
|
|
10128
10129
|
debugger;
|
|
10129
10130
|
}
|