@xuda.io/runtime-bundle 1.0.1308 → 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,18 +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
- delete obj.old_dataSource;
25113
25112
 
25114
- // if (obj.data_system) {
25115
- // delete obj.data_system.SYS_GLOBAL_OBJ_REFS;
25116
- // }
25117
- try {
25118
- clean_object_functions(obj);
25113
+ // try {
25114
+ // clean_object_functions(obj);
25119
25115
 
25120
- obj = JSON.parse(JSON.stringify(obj, func.utils.clean_stringify_null, '\t'));
25121
- } catch (e) {
25122
- console.error(e);
25123
- }
25116
+ // obj = JSON.parse(JSON.stringify(obj, func.utils.clean_stringify_null, '\t'));
25117
+ // } catch (e) {
25118
+ // console.error(e);
25119
+ // }
25124
25120
 
25125
25121
  delete obj.pre_init_fields;
25126
25122
  delete obj.oninit_triggers_to_run;
@@ -25150,6 +25146,14 @@ func.utils.clean_returned_datasource = function (SESSION_ID, DS) {
25150
25146
 
25151
25147
  delete obj.v;
25152
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
+ }
25153
25157
  // clean_dataset();
25154
25158
  return obj;
25155
25159
  };