Skip to content

Commit

Permalink
Replacing SWFUpload with Flash-less solution
Browse files Browse the repository at this point in the history
  • Loading branch information
samluescher committed Feb 14, 2012
1 parent 95793ff commit fa402e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions media_tree/static/media_tree/js/django_admin_fileuploader.js
Expand Up @@ -87,6 +87,9 @@ jQuery(function($) {
_onComplete: function(id, fileName, result){
qq.FileUploaderBasic.prototype._onComplete.apply(this, arguments);

// the request was aborted/cancelled
if (!this._files[id]) return;

// mark completed
var item = this._getItemByFileId(id);
qq.remove(this._find(item, 'cancel'));
Expand Down

0 comments on commit fa402e3

Please sign in to comment.