From 0043e9b945c89a456f45c7e84475d8de51664977 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Tue, 27 Dec 2011 09:06:11 +0000 Subject: [PATCH] // 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 --- admin-dev/themes/template/products/images.tpl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/admin-dev/themes/template/products/images.tpl b/admin-dev/themes/template/products/images.tpl index fe6afc341..59a1a610f 100644 --- a/admin-dev/themes/template/products/images.tpl +++ b/admin-dev/themes/template/products/images.tpl @@ -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)