diff --git a/static/js/mediaExistsDialog.js b/static/js/mediaExistsDialog.js index 1c91be18..a6bcad98 100644 --- a/static/js/mediaExistsDialog.js +++ b/static/js/mediaExistsDialog.js @@ -57,6 +57,7 @@ pandora.ui.mediaExistsDialog = function(options) { items = options.items.filter(function(item) { return existing.indexOf(item.oshash) == -1; }); + that.close(); pandora.ui.addFilesDialog({ action: options.action, items: items