Small issue on Javascript file

[ad_1]

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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer