From 03e546afcc3b6cd90abdd1d3586cd917b23beaef Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 27 Mar 2013 13:01:27 +0200 Subject: [PATCH] Update _filepicker.js --- lib/client/storage/_filepicker.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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);