clear uploads in progress if discard is clicked, temp fix until composer is revamped

v1.18.x
Baris Usakli 11 years ago
parent d315829eaf
commit 0c5937805b

@ -384,6 +384,7 @@ define(['taskbar'], function(taskbar) {
if (composer.posts[post_uuid]) {
$(composer.postContainer).find('.imagedrop').hide();
delete composer.posts[post_uuid];
uploadsInProgress.length = 0;
composer.minimize();
taskbar.discard('composer', post_uuid);
}

Loading…
Cancel
Save