terça-feira, 20 de abril de 2010

problemas com o evento onSelect do uploadify?

o fazer o onSelect : function(fileObj).. nao traz nada.

entao.. vá no arquivo jquery.uploadify.v2.1.0.js

procure pelo bind "uploadifySelect" e procure neste bind por

if (fileObj.name.length > 20) {
fileName = fileObj.name.substr(0,20) + '...';
} else {fileName = fileObj.name;}

a dica eh... crie um var fileObj = new Array();
antes do if e utilize para mostrar function(fileObj){fileObj.name}

0 comentários:

Postar um comentário