@xuda.io/runtime-bundle 1.0.1307 → 1.0.1309

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.
@@ -25109,16 +25109,14 @@ func.utils.clean_returned_datasource = function (SESSION_ID, DS) {
25109
25109
  var obj = _.clone(_session.DS_GLB[DS]);
25110
25110
 
25111
25111
  delete obj.screen_params;
25112
- if (obj.data_system) {
25113
- delete obj.data_system.SYS_GLOBAL_OBJ_REFS;
25114
- }
25115
- try {
25116
- clean_object_functions(obj);
25117
25112
 
25118
- obj = JSON.parse(JSON.stringify(obj, func.utils.clean_stringify_null, '\t'));
25119
- } catch (e) {
25120
- console.error(e);
25121
- }
25113
+ // try {
25114
+ // clean_object_functions(obj);
25115
+
25116
+ // obj = JSON.parse(JSON.stringify(obj, func.utils.clean_stringify_null, '\t'));
25117
+ // } catch (e) {
25118
+ // console.error(e);
25119
+ // }
25122
25120
 
25123
25121
  delete obj.pre_init_fields;
25124
25122
  delete obj.oninit_triggers_to_run;
@@ -25148,6 +25146,14 @@ func.utils.clean_returned_datasource = function (SESSION_ID, DS) {
25148
25146
 
25149
25147
  delete obj.v;
25150
25148
  clean_empty_objects();
25149
+
25150
+ try {
25151
+ clean_object_functions(obj);
25152
+
25153
+ obj = JSON.parse(JSON.stringify(obj, func.utils.clean_stringify_null, '\t'));
25154
+ } catch (e) {
25155
+ console.error(e);
25156
+ }
25151
25157
  // clean_dataset();
25152
25158
  return obj;
25153
25159
  };