Răsfoiți Sursa

Merge branch 'fix/Process.deleteDraft_execption' into 'develop'

Merge of fix/【流程管理】修复删除草稿的时候可能报错的问题 to develop

See merge request o2oa/o2oa!1327
蔡祥熠 5 ani în urmă
părinte
comite
908cc6982f
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      o2web/source/x_component_process_Xform/Form.js

+ 2 - 2
o2web/source/x_component_process_Xform/Form.js

@@ -3462,7 +3462,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
                     }.bind(this), function (xhr, text, error) {
                         var errorText = error + ":" + text;
                         if (xhr) errorText = xhr.responseText;
-                        _self.app.notice("request json error: " + errorText, "error", dlg.node);
+                        _self.app.notice("request json error: " + errorText, "error");
                         if (_self.mask) {
                             _self.mask.hide();
                             _self.mask = null;
@@ -3498,7 +3498,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
                     }.bind(this), function (xhr, text, error) {
                         var errorText = error + ":" + text;
                         if (xhr) errorText = xhr.responseText;
-                        _self.app.notice("request json error: " + errorText, "error", dlg.node);
+                        _self.app.notice("request json error: " + errorText, "error");
                         if (_self.mask) {
                             _self.mask.hide();
                             _self.mask = null;