Checkout error hook

@coenjacobs useful for .15 IMO
This commit is contained in:
Mike Jolley 2013-09-16 14:55:17 +01:00
parent 23c59a4d08
commit 5f7753b343
2 changed files with 3 additions and 1 deletions

View File

@ -301,6 +301,8 @@ jQuery(document).ready(function($) {
// Trigger update in case we need a fresh nonce
if ( result.refresh == 'true' )
$('body').trigger('update_checkout');
$('body').trigger('checkout_error');
}
},
dataType: "html"

File diff suppressed because one or more lines are too long