mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 10:09:04 +00:00
fix(filepicker) add mimetype "", rm default ".txt" ext
This commit is contained in:
parent
8317b7c948
commit
2d28031de2
1 changed files with 8 additions and 4 deletions
|
|
@ -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);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue