woocommerce/assets
ragulka d73e7e4f9d Prevent unwanted double cart notices (#16460)
* Don't add shipping zone debug message when doing ajax

Prevent an issue where the "Customer matched zone" debug message is shown twice after first selecting a shipping method and then changing a product's quantity in cart and clicking Update cart.

* Don't pass event object to cart.update_cart

Prevent accidentally preserving cart notices when `wc_update_cart` event is triggered on body. If the event object is passed to update_cart() as the first param, it evaluates to true, forcing existing notices to be preserved.

* Pass custom arguments to cart.update_cart()

Instead of simply not passing the event object, pass any custom arguments, so it's possible to do something like: $( body ).trigger( 'wc_update_cart', true ); to still preserve notices if needed.
2017-08-16 11:34:35 +01:00
..
css Fix disappearing image when zoomed on touch devices 2017-08-16 10:20:14 +01:00
fonts Fixed file permissions 2017-01-17 16:31:31 -02:00
images Update WooCommerce Services copy (#15598) 2017-06-14 11:24:45 +01:00
js Prevent unwanted double cart notices (#16460) 2017-08-16 11:34:35 +01:00