@xuda.io/xuda-worker-bundle-min 1.3.664 → 1.3.665

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.
Files changed (2) hide show
  1. package/index.js +7 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2071,9 +2071,9 @@ func.datasource.execute = async function (
2071
2071
  // ======================================
2072
2072
  // COMPUTE GLOBALS
2073
2073
  // ======================================
2074
- if (_ds.prog_id === "system") {
2074
+ if (tree_obj.menuType === "globals") {//_ds.prog_id === "system"
2075
2075
  _ds.currentRecordId = "dataset";
2076
- await func.datasource.render_fields_dataset(SESSION_ID, dataSourceSession);
2076
+ await func.datasource.render_fields_dataset(SESSION_ID, dataSourceSession, _session.url_params);
2077
2077
 
2078
2078
  return await callback_datasource();
2079
2079
  }
@@ -2143,8 +2143,8 @@ func.datasource.execute = async function (
2143
2143
  SESSION_ID,
2144
2144
  "Data source",
2145
2145
  err.message +
2146
- " https://" +
2147
- prog_obj.progDataSource.dataSourceDataUrl,
2146
+ " https://" +
2147
+ prog_obj.progDataSource.dataSourceDataUrl,
2148
2148
  "E"
2149
2149
  );
2150
2150
  return null;
@@ -3577,7 +3577,7 @@ func.datasource.del = function (SESSION_ID, dsP) {
3577
3577
 
3578
3578
  const perform_delete = async function () {
3579
3579
  var response = {
3580
- success: function (jsonP, ajaxP) {},
3580
+ success: function (jsonP, ajaxP) { },
3581
3581
  error: function (status) {
3582
3582
  console.error("error datasource:" + status);
3583
3583
  },
@@ -3643,8 +3643,8 @@ func.datasource.del = function (SESSION_ID, dsP) {
3643
3643
  if (SESSION_OBJ[SESSION_ID].DS_GLB[dsP]) {
3644
3644
  delete SCREEN_BLOCKER_OBJ[
3645
3645
  SESSION_OBJ[SESSION_ID].DS_GLB[dsP].screenId +
3646
- "_" +
3647
- SESSION_OBJ[SESSION_ID].DS_GLB[dsP].callingScreenId
3646
+ "_" +
3647
+ SESSION_OBJ[SESSION_ID].DS_GLB[dsP].callingScreenId
3648
3648
  ];
3649
3649
 
3650
3650
  delete_pending_jobs();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.664",
3
+ "version": "1.3.665",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {