// display error message for upload image

This commit is contained in:
lLefevre
2011-12-27 09:06:11 +00:00
parent abd89081ee
commit 8233f18051
@@ -208,11 +208,7 @@
showSuccessMessage(responseJSON.name + " " + success_add);
}
else
{
$("#img" + id).addClass("red");
$("#img" + id + " .errorImg").html(responseJSON.error);
$("#img" + id + " .errorImg").show();
}
showErrorMessage(responseJSON.error);
filecheck++;
},
onSubmit: function(id, filename)