Merge pull request #3326 from justinstern/master

Bugfix: Always Submit Selected Shipping Method on Update Checkout
This commit is contained in:
Mike Jolley 2013-06-14 03:18:03 -07:00
commit 2ec17f3160
2 changed files with 4 additions and 4 deletions

View File

@ -8,8 +8,8 @@ jQuery(document).ready(function($) {
if (xhr) xhr.abort();
if ( $('select#shipping_method').size() > 0 )
var method = $('select#shipping_method').val();
if ( $('select#shipping_method').size() > 0 || $('input#shipping_method').size() > 0 )
var method = $('#shipping_method').val();
else
var method = $('input[name=shipping_method]:checked').val();
@ -438,4 +438,4 @@ jQuery(document).ready(function($) {
$('body').trigger('init_checkout');
}
});
});

File diff suppressed because one or more lines are too long