提交 b05c1732 编写于 作者: U unknown

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

上级 1fe219ac
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册