MT-10 fix exception

This commit is contained in:
dheeyi
2016-03-30 10:43:42 -04:00
parent d29e87b2cb
commit b7359f2777
2 changed files with 14 additions and 37 deletions

View File

@@ -1413,7 +1413,8 @@ importProcessExistGroup = function()
}
},
failure: function(o, resp) {
var msg = resp.result.msg ? resp.result.msg : resp.response.responseText;
var msg = resp.result ? resp.result.msg : resp.response.responseText;
importProcessGlobal.objectsToImport = "";
w.close();
Ext.MessageBox.show({
title : _('ID_ERROR'),
@@ -1613,7 +1614,8 @@ importProcessExistProcess = function()
}
},
failure : function(o, resp) {
var msg = resp.result.msg ? resp.result.msg : resp.response.responseText;
var msg = resp.result ? resp.result.msg : resp.response.responseText;
importProcessGlobal.objectsToImport = "";
w.close();
Ext.MessageBox.show({
title : _('ID_ERROR'),