PM-2254 "Designer>Designer BPMN>Input Documents..." SOLVED
> Code Isuue: Designer > Designer BPMN > Input Documents: El campo .Allowed file extensions. no tiene la sintaxis correcta en el campo requerido > Solution: Se corrige el label del formulario de creacion de los input document y su nuevo valor por default es ".*".
This commit is contained in:
@@ -71,7 +71,13 @@ var verifyInfo = function(oForm)
|
||||
allowedTypes = getField('fileTypes').value.split(", ");
|
||||
|
||||
for(i=0; i<allowedTypes.length; i++){
|
||||
allowed = allowedTypes[i].replace('*','').replace('.','');
|
||||
var arrayMatch = [];
|
||||
var allowed = "";
|
||||
|
||||
if ((arrayMatch = /^.*\.(.+)$/.exec(allowedTypes[i]))) {
|
||||
allowed = arrayMatch[1];
|
||||
}
|
||||
|
||||
if((allowed != '*') && (docType.toLowerCase() != allowed.toLowerCase())){
|
||||
flag = 1;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user