diff --git a/lib/client/storage/_filepicker.js b/lib/client/storage/_filepicker.js index 0242a704..e29e08f4 100644 --- a/lib/client/storage/_filepicker.js +++ b/lib/client/storage/_filepicker.js @@ -16,10 +16,14 @@ var CloudCmd, Util, DOM, $, filepicker; var lContent = pParams.data, lName = pParams.name; - filepicker.store(lContent, {filename: lName}, function(pFPFile){ - Util.log(pFPFile); - - filepicker.exportFile(pFPFile, Util.log, Util.log); + filepicker.store(lContent, { + mimetype: '', + filename: lName + }, + function(pFPFile){ + Util.log(pFPFile); + + filepicker.exportFile(pFPFile, Util.log, Util.log); }); };