From b661125ebf36346abf6ee9d71e246931056c00e8 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Tue, 21 Aug 2012 12:14:38 +0000 Subject: [PATCH] // Fixed #PSCFV-3700 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16932 b9a71923-0436-4b27-9f14-aed3839534dd --- js/admin_order.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/admin_order.js b/js/admin_order.js index 77a58f683..a1693928d 100644 --- a/js/admin_order.js +++ b/js/admin_order.js @@ -484,6 +484,10 @@ function init() } else jAlert(data.error); + }, + error : function(XMLHttpRequest, textStatus, errorThrown) + { + jAlert("Impossible to add the product to the cart.\n\ntextStatus: '" + textStatus + "'\nerrorThrown: '" + errorThrown + "'\nresponseText:\n" + XMLHttpRequest.responseText); } }); ajaxQueries.push(ajax_query);