Classes were changed. Closes #2160.

This commit is contained in:
Mike Jolley 2013-01-07 13:19:02 +00:00
parent 454be82469
commit b2f5cee7cb
2 changed files with 4 additions and 4 deletions

View File

@ -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