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:
@@ -31,12 +31,12 @@ var currentPagedTable = @#PAGED_TABLE_ID;
|
||||
}
|
||||
|
||||
allowedTypes = getField('INP_DOC_TYPE_FILE').value.split(", ");
|
||||
expreg = /^\*\.?[a-zA-Z0-9]{2,15}$/;
|
||||
expreg = /^.*\.?[a-zA-Z0-9]{2,15}$/;
|
||||
|
||||
for(i=0; i<allowedTypes.length; i++){
|
||||
atype = allowedTypes[i];
|
||||
|
||||
if((atype=='*.*') || (expreg.test(atype)) ){
|
||||
if ((atype == ".*") || (atype == "*.*") || (expreg.test(atype))) {
|
||||
//
|
||||
} else {
|
||||
alert('@G::LoadTranslation(ID_UPLOAD_ERR_WRONG_ALLOWED_EXTENSION_FORMAT)');
|
||||
|
||||
Reference in New Issue
Block a user