If an error happens while uploading a file through the Upload Media dialog, the window can freeze instead of displaying the error message.
To resolve this issue, do the following:
- Open the the \sitecore\shell\Applications\Media\MediaFolder\MediaFolder.js file.
- Comment out the line marked in bold:
onUploadError: function(event) {
console.warn("upload error. file: %s, message: %s", event.id, event.status);
this.hadErrors = true;
var row = $(event.id);
...
}
- Insert the following line after the commented one:
var row = this.yUploader.isFlash? $(event.originEvent.id): $(event.details[0].target.id);
- Clear the browser cache.