Small issue on Javascript file
-
Is possible include small update on woocommerce-services-new-order-taxjar javascript file on next update ?
The jQuery ajax handled by ajaxSend method could propagate settings with empty data property or with the data property with no-string value.The javascript file has code that handle ajaxSend event with this code snippet:
ajaxSend(function(t,n,r){if(r.data&&r.data.indexOf("woocommerce_calc_line_taxes")>0){
and I would ask you if possible just add condition for type of object
ajaxSend(function(t,n,r){if(typeof(r.data)==="string"&&r.data.indexOf("woocommerce_calc_line_taxes")>0){
Our plugin handling ajax file upload and the error handling procedure catch your javascript unhandled error that breaking next our code processing.
- The topic ‘Small issue on Javascript file’ is closed to new replies.