MT-100 fix for extension .pmx and .pmx2

This commit is contained in:
dheeyi
2016-04-07 17:09:14 -04:00
parent 82d44a48e4
commit f524904489

View File

@@ -994,6 +994,8 @@ function exportProcess() {
if (record.length == 1) {
if (Ext.getCmp('exportProcessObjectsWindow')) {
Ext.getCmp('exportProcessObjectsWindow').close();
} else {
processObjectsArray = '';
}
var myMask = new Ext.LoadMask(Ext.getBody(), {msg: _("ID_LOADING")});
var proUid = record[0].get("PRO_UID");
@@ -1014,7 +1016,12 @@ function exportProcess() {
if (result.success) {
window.location = "../processes/processes_DownloadFile?file_hash=" + result.file_hash;
} else {
Ext.Msg.show({title: "", msg: result.message, icon: Ext.MessageBox.ERROR, buttons: Ext.MessageBox.OK});
Ext.Msg.show({
title: "",
msg: result.message,
icon: Ext.MessageBox.ERROR,
buttons: Ext.MessageBox.OK
});
}
},