// display error message for upload image

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11778 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2011-12-27 09:06:11 +00:00
parent 35ac5cd809
commit 0043e9b945
@@ -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)