From f845063422d8a3f46774883c90d811ee5106ce64 Mon Sep 17 00:00:00 2001 From: LuigiPulcini Date: Tue, 7 Dec 2021 10:03:02 +0100 Subject: [PATCH] Requested change on data check --- .../woocommerce/assets/js/admin/meta-boxes-product-variation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce/assets/js/admin/meta-boxes-product-variation.js b/plugins/woocommerce/assets/js/admin/meta-boxes-product-variation.js index e5a8b292f71..f21f41a3066 100644 --- a/plugins/woocommerce/assets/js/admin/meta-boxes-product-variation.js +++ b/plugins/woocommerce/assets/js/admin/meta-boxes-product-variation.js @@ -808,7 +808,7 @@ jQuery( function( $ ) { $( 'select.variation_actions' ).trigger( do_variation_action ); data = $( 'select.variation_actions' ).triggerHandler( do_variation_action + '_ajax_data', data ); - if ( true === data.cancel ) { + if ( null === data ) { return; } break;