Merged in victorsl/processmaker (pull request #1757)

PM-00000 "Small fix in main.js" SOLVED
This commit is contained in:
Victor SL
2015-03-24 08:20:20 -07:00

View File

@@ -1227,7 +1227,7 @@ importProcess = function()
handler : function(){
var arrayMatch = [];
if ((arrayMatch = eval("/^.+\.(" + arrayPmFileExtension.join("|") + ")$/i").exec(Ext.getCmp("form-file").getValue()))) {
if ((arrayMatch = eval("/^.+\.(" + arrayImportFileExtension.join("|") + ")$/i").exec(Ext.getCmp("form-file").getValue()))) {
var fileExtension = arrayMatch[1];
switch (fileExtension) {