PM-3248 "Error cuando no se tiene espacio..." SOLVED
This commit is contained in:
@@ -5436,7 +5436,7 @@ class G
|
||||
{
|
||||
// Initialize variables
|
||||
$res = new stdclass();
|
||||
$allowedTypes = array_map('G::getRealExtension', explode(', ', $InpDocAllowedFiles));
|
||||
$allowedTypes = array_map('G::getRealExtension', explode(',', $InpDocAllowedFiles));
|
||||
|
||||
// If required extension is *.* don't validate
|
||||
if (in_array('*', $allowedTypes)) {
|
||||
|
||||
@@ -68,7 +68,7 @@ var verifyInfo = function(oForm)
|
||||
docType = oAux.value.split(".");
|
||||
docType = docType[docType.length - 1];
|
||||
|
||||
allowedTypes = getField('fileTypes').value.split(", ");
|
||||
allowedTypes = getField('fileTypes').value.split(",");
|
||||
|
||||
for(i=0; i<allowedTypes.length; i++){
|
||||
var arrayMatch = [];
|
||||
|
||||
Reference in New Issue
Block a user