Преглед изворни кода

修复删除草稿的时候可能报错的问题

unknown пре 5 година
родитељ
комит
993de2e93d
1 измењених фајлова са 2 додато и 2 уклоњено
  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;