// Fixed #PSCFV-3700
This commit is contained in:
1 parent
963f9e585a
commit
ddfa6ee89a
1 file changed
+4
@@ -484,6 +484,10 @@ function init()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
jAlert(data.error);
|
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);
|
ajaxQueries.push(ajax_query);
|
||||||
|
|||||||
Reference in new issue
Block a user