diff --git a/assets/js/admin/order-backbone-modal.js b/assets/js/admin/order-backbone-modal.js index 6dfb87809fc..7cc72457abc 100644 --- a/assets/js/admin/order-backbone-modal.js +++ b/assets/js/admin/order-backbone-modal.js @@ -110,6 +110,8 @@ getFormData: function() { var data = {}; + $( document.body ).trigger( 'wc_backbone_modal_before_update', this._target ); + $.each( $( 'form', this.$el ).serializeArray(), function( index, item ) { if ( data.hasOwnProperty( item.name ) ) { data[ item.name ] = $.makeArray( data[ item.name ] );