diff options
Diffstat (limited to 'www/js/importer.js')
-rw-r--r-- | www/js/importer.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www/js/importer.js b/www/js/importer.js index bac23f6..06caa1c 100644 --- a/www/js/importer.js +++ b/www/js/importer.js @@ -80,7 +80,9 @@ Rivendell.Importer.prototype.openModal = function(group, groupView, createCart, Rivendell.Importer.prototype.cancelAllUploads = function() { $.each(this.uploads, function(index, upload){ - upload.cancel(); + if (upload) { + upload.cancel(); + } }); }; |