Просмотр исходного кода

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

unknown 5 лет назад
Родитель
Сommit
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;