From ddfa6ee89a2dee97f3d52588ee4a943f451d1b24 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Tue, 21 Aug 2012 12:14:38 +0000 Subject: [PATCH] // Fixed #PSCFV-3700 --- 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);