diff --git a/lib/client/storage/_filepicker.js b/lib/client/storage/_filepicker.js index 00fa6576..4256bda1 100644 --- a/lib/client/storage/_filepicker.js +++ b/lib/client/storage/_filepicker.js @@ -17,11 +17,10 @@ var CloudCommander, Util, DOM, $, filepicker; var lContent = pParams.data, lName = pParams.name; - filepicker.store(lContent, {filename: lName}, - function(new_fpfile){ - console.log(JSON.stringify(new_fpfile)); - } - ); + filepicker.store(lContent, {filename: lName}, function(new_fpfile){ + console.log(new_fpfile); + }); + filepicker.pick(function(FPFile){ console.log(FPFile.url);