@xuda.io/xuda-worker-bundle-min 1.3.143 → 1.3.144

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 +3 -22
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -5888,29 +5888,7 @@ func.utils.alerts.invoke = async function (
5888
5888
 
5889
5889
  return;
5890
5890
  }
5891
- // if (!alert_type) {
5892
- // // none alert
5893
- // ALERT_IS_ACTIVE = false;
5894
- // return;
5895
- // }
5896
5891
 
5897
- // if (_ds) {
5898
- // if (alert_type === "error") {
5899
- // _ds.error = title + " " + sourceP;
5900
- // func.utils.debug_report(
5901
- // SESSION_ID,
5902
- // "func.datasource.callback",
5903
- // title + " " + sourceP,
5904
- // "E",
5905
- // "",
5906
- // _ds
5907
- // );
5908
- // }
5909
- // // if (typeof _session.DS_GLB[dsSessionP].import_rowno !== "undefined") {
5910
- // // ALERT_IS_ACTIVE = false;
5911
- // // return;
5912
- // // }
5913
- // }
5914
5892
  func.utils.alerts.execute(
5915
5893
  SESSION_ID,
5916
5894
  alert_type,
@@ -5932,6 +5910,9 @@ func.utils.alerts.execute = function (
5932
5910
  ) {
5933
5911
  if (!UI_FRAMEWORK_INSTALLED) {
5934
5912
  ALERT_IS_ACTIVE = false;
5913
+ if (alertDisplay !== "console") {
5914
+ return alert(title + "\n \n" + message);
5915
+ }
5935
5916
  return console[alert_type === "error" ? "error" : "log"](
5936
5917
  alert_type,
5937
5918
  title,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.143",
3
+ "version": "1.3.144",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {