diff --git a/mayan/apps/appearance/static/appearance/js/mayan_image.js b/mayan/apps/appearance/static/appearance/js/mayan_image.js index f146b4b279..a3d7c47108 100644 --- a/mayan/apps/appearance/static/appearance/js/mayan_image.js +++ b/mayan/apps/appearance/static/appearance/js/mayan_image.js @@ -49,15 +49,10 @@ MayanImage.intialize = function () { }); } +MayanImage.templateInvalidDocument = $('#template-invalid-document').html(); + MayanImage.prototype.onImageError = function () { - this.element.parent().parent().html('\ -