Merge pull request #3326 from justinstern/master
Bugfix: Always Submit Selected Shipping Method on Update Checkout
This commit is contained in:
commit
2ec17f3160
|
@ -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();
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue