|
|
|
@ -552,6 +552,7 @@ define(['taskbar'], function(taskbar) {
|
|
|
|
|
if(items && items.length) {
|
|
|
|
|
|
|
|
|
|
var blob = items[0].getAsFile();
|
|
|
|
|
if(blob) {
|
|
|
|
|
blob.name = 'upload-'+ utils.generateUUID();
|
|
|
|
|
|
|
|
|
|
var fd = new FormData();
|
|
|
|
@ -560,6 +561,7 @@ define(['taskbar'], function(taskbar) {
|
|
|
|
|
fileForm[0].reset();
|
|
|
|
|
uploadSubmit([blob], post_uuid, '/api/post/upload', fd);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|