fixed upload function of filepicker

This commit is contained in:
coderaiaser 2013-06-17 04:38:07 -07:00
parent 80b5db2d0b
commit 1372965423
2 changed files with 5 additions and 7 deletions

View file

@ -64,6 +64,8 @@ getJSONfromFileTable.
* Added ability to set attributes in Loader.anyload.
* Fixed upload function of filepicker.
2012.04.22, v0.2.0

View file

@ -16,14 +16,10 @@ var CloudCmd, Util, DOM, $, filepicker;
var lContent = pParams.data,
lName = pParams.name;
filepicker.store(lContent, {filename: lName}, function(new_fpfile){
console.log(new_fpfile);
});
filepicker.pick(function(FPFile){
console.log(FPFile.url);
filepicker.store(lContent, {filename: lName}, function(pFPFile){
console.log(pFPFile);
Util.exec(pCallBack);
filepicker.exportFile(pFPFile, Util.log, Util.log);
});
};