@xuda.io/runtime-bundle 1.0.1130 → 1.0.1131
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
|
@@ -7845,7 +7845,8 @@ func.UI.utils.get_element_info = function (SESSION_ID, dsSessionP, ui_idP, $cont
|
|
|
7845
7845
|
// }
|
|
7846
7846
|
// } else {
|
|
7847
7847
|
// ret.nodeId = $elm.data().xuData.nodeId;
|
|
7848
|
-
ret.nodeId = $elm.
|
|
7848
|
+
ret.nodeId = $elm.data().xuData.xu_id;
|
|
7849
|
+
// ret.nodeId = $elm.attr('xu-ui-id');
|
|
7849
7850
|
// }
|
|
7850
7851
|
}
|
|
7851
7852
|
ret.$elm = $elm;
|
|
@@ -8709,8 +8710,8 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8709
8710
|
return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
8710
8711
|
};
|
|
8711
8712
|
|
|
8712
|
-
|
|
8713
|
-
var $elm = $(`[xu-ui-id="${queue_obj.paramsP.elem_key}"]`);
|
|
8713
|
+
var $elm = func.UI.utils.find_in_element_data('xuData', $(SESSION_OBJ[SESSION_ID].root_element), 'xu_id', queue_obj.paramsP.elem_key);
|
|
8714
|
+
// var $elm = $(`[xu-ui-id="${queue_obj.paramsP.elem_key}"]`);
|
|
8714
8715
|
|
|
8715
8716
|
if (glb.new_xu_render) {
|
|
8716
8717
|
$elm = $(`[xu-ui-id="${queue_obj.paramsP.elem_key}"]`);
|
|
@@ -11611,7 +11612,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11611
11612
|
const selector_id = glb.new_xu_render ? $(this).data()?.xuData?.ui_id : $(this).data()?.xuData?.xu_id;
|
|
11612
11613
|
|
|
11613
11614
|
if (attr.length) {
|
|
11614
|
-
debugger;
|
|
11615
11615
|
selectors[selector_id] = selectors[selector_id];
|
|
11616
11616
|
|
|
11617
11617
|
if (!selectors[selector_id]) {
|
|
@@ -7846,7 +7846,8 @@ func.UI.utils.get_element_info = function (SESSION_ID, dsSessionP, ui_idP, $cont
|
|
|
7846
7846
|
// }
|
|
7847
7847
|
// } else {
|
|
7848
7848
|
// ret.nodeId = $elm.data().xuData.nodeId;
|
|
7849
|
-
ret.nodeId = $elm.
|
|
7849
|
+
ret.nodeId = $elm.data().xuData.xu_id;
|
|
7850
|
+
// ret.nodeId = $elm.attr('xu-ui-id');
|
|
7850
7851
|
// }
|
|
7851
7852
|
}
|
|
7852
7853
|
ret.$elm = $elm;
|
|
@@ -8710,8 +8711,8 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8710
8711
|
return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
8711
8712
|
};
|
|
8712
8713
|
|
|
8713
|
-
|
|
8714
|
-
var $elm = $(`[xu-ui-id="${queue_obj.paramsP.elem_key}"]`);
|
|
8714
|
+
var $elm = func.UI.utils.find_in_element_data('xuData', $(SESSION_OBJ[SESSION_ID].root_element), 'xu_id', queue_obj.paramsP.elem_key);
|
|
8715
|
+
// var $elm = $(`[xu-ui-id="${queue_obj.paramsP.elem_key}"]`);
|
|
8715
8716
|
|
|
8716
8717
|
if (glb.new_xu_render) {
|
|
8717
8718
|
$elm = $(`[xu-ui-id="${queue_obj.paramsP.elem_key}"]`);
|
|
@@ -9336,7 +9337,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9336
9337
|
const selector_id = glb.new_xu_render ? $(this).data()?.xuData?.ui_id : $(this).data()?.xuData?.xu_id;
|
|
9337
9338
|
|
|
9338
9339
|
if (attr.length) {
|
|
9339
|
-
debugger;
|
|
9340
9340
|
selectors[selector_id] = selectors[selector_id];
|
|
9341
9341
|
|
|
9342
9342
|
if (!selectors[selector_id]) {
|