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