mirror of
https://github.com/typecho/typecho.git
synced 2025-04-16 15:53:11 +02:00
fix #341
This commit is contained in:
parent
2b120ded77
commit
c904005498
@ -94,6 +94,9 @@ $(document).ready(function() {
|
||||
li.effect('highlight', {color : '#FBC2C4'}, 2000, function () {
|
||||
$(this).remove();
|
||||
});
|
||||
|
||||
// fix issue #341
|
||||
plupload.removeFile(file);
|
||||
}
|
||||
|
||||
var completeFile = null;
|
||||
@ -153,6 +156,7 @@ $(document).ready(function() {
|
||||
|
||||
if (data) {
|
||||
fileUploadComplete(file.id, data[0], data[1]);
|
||||
plupload.removeFile(file);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user