Classes were changed. Closes #2160.
This commit is contained in:
parent
454be82469
commit
b2f5cee7cb
|
@ -231,7 +231,7 @@ jQuery(document).ready(function($) {
|
|||
|
||||
} else if (result.result=='failure') {
|
||||
|
||||
$('.woocommerce-error, .woocommerce-message').remove();
|
||||
$('.woocommerce_error, .woocommerce_message').remove();
|
||||
$form.prepend( result.messages );
|
||||
$form.removeClass('processing').unblock();
|
||||
$form.find( '.input-text, select' ).blur();
|
||||
|
@ -247,7 +247,7 @@ jQuery(document).ready(function($) {
|
|||
}
|
||||
}
|
||||
catch(err) {
|
||||
$('.woocommerce-error, .woocommerce-message').remove();
|
||||
$('.woocommerce_error, .woocommerce_message').remove();
|
||||
$form.prepend( code );
|
||||
$form.removeClass('processing').unblock();
|
||||
$form.find( '.input-text, select' ).blur();
|
||||
|
@ -287,7 +287,7 @@ jQuery(document).ready(function($) {
|
|||
url: woocommerce_params.ajax_url,
|
||||
data: data,
|
||||
success: function( code ) {
|
||||
$('.woocommerce-error, .woocommerce-message').remove();
|
||||
$('.woocommerce_error, .woocommerce_message').remove();
|
||||
$form.removeClass('processing').unblock();
|
||||
|
||||
if ( code ) {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue