Tab index issue Closes #2163.

This commit is contained in:
Mike Jolley 2013-01-07 13:07:01 +00:00
parent 96721f00d2
commit 454be82469
2 changed files with 3 additions and 2 deletions

View File

@ -370,6 +370,7 @@ jQuery(document).ready(function($) {
var $postcodefield = thisform.find('#billing_postcode_field, #shipping_postcode_field'); var $postcodefield = thisform.find('#billing_postcode_field, #shipping_postcode_field');
var $cityfield = thisform.find('#billing_city_field, #shipping_city_field'); var $cityfield = thisform.find('#billing_city_field, #shipping_city_field');
var $statefield = thisform.find('#billing_state_field, #shipping_state_field');
// Re-order postcode/city // Re-order postcode/city
if ( thislocale['postcode_before_city'] ) { if ( thislocale['postcode_before_city'] ) {
@ -379,7 +380,7 @@ jQuery(document).ready(function($) {
} else { } else {
$postcodefield.removeClass('form-row-wide').addClass('form-row-last'); $postcodefield.removeClass('form-row-wide').addClass('form-row-last');
$cityfield.removeClass('form-row-first').addClass('form-row-wide'); $cityfield.removeClass('form-row-first').addClass('form-row-wide');
$postcodefield.insertAfter( $cityfield ); $postcodefield.insertAfter( $statefield );
} }
}) })

File diff suppressed because one or more lines are too long