// Fixed #PSCFV-3700
This commit is contained in:
@@ -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