@xuda.io/runtime-bundle 1.0.474 → 1.0.476
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.
|
@@ -28256,7 +28256,12 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
28256
28256
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].props = _ds.in_parameters || {};
|
|
28257
28257
|
|
|
28258
28258
|
if ($elm) {
|
|
28259
|
-
const
|
|
28259
|
+
const get_attributes = function (retry = 0) {
|
|
28260
|
+
if (retry > 50) return;
|
|
28261
|
+
$elm?.data()?.xuPanelWrapper?.panelXuAttributes || $elm?.data()?.xuData?.debug_info?.attribute_stat || get_attributes(retry + 1);
|
|
28262
|
+
};
|
|
28263
|
+
|
|
28264
|
+
const attributes = get_attributes();
|
|
28260
28265
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].attributes = attributes;
|
|
28261
28266
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].xu_ui_id = $elm.attr('xu-ui-id');
|
|
28262
28267
|
}
|
|
@@ -32076,7 +32081,6 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32076
32081
|
return ret;
|
|
32077
32082
|
},
|
|
32078
32083
|
'xu-ref': async function ($elm, val) {
|
|
32079
|
-
// const $wrapper = $(`[xu-panel-wrapper-id='${$elm.attr('xu-ui-id')}`);
|
|
32080
32084
|
let ret = await common_fx['xu-ref']($container, val);
|
|
32081
32085
|
return ret;
|
|
32082
32086
|
},
|