--- uc_free_order.js 2009-06-01 12:16:42.000000000 -0400 +++ uc_free_order.js 2009-09-04 02:01:11.000000000 -0400 @@ -23,13 +23,13 @@ function free_order_check_total(total) { $("#payment-pane .form-radios input:radio").removeAttr('disabled').parent().show(0); // Hide the free order radio. - $("input:radio[@value=free_order]").attr('disabled', 'disabled').parent().hide(0); + $("input:radio[value=free_order]").attr('disabled', 'disabled').parent().hide(0); // Find the first available payment method. var uc_free_order_next_method = $(':radio[name="panes[payment][payment_method]"]:enabled:first').val(); // Select the first payment method. - $("input:radio[@value=" + uc_free_order_next_method + "]").attr('checked', 'checked'); + $("input:radio[value=" + uc_free_order_next_method + "]").attr('checked', 'checked'); // Refresh the payment details section. get_payment_details('cart/checkout/payment_details/' + uc_free_order_next_method); @@ -41,7 +41,7 @@ function free_order_check_total(total) { $("#payment-pane .form-radios input:radio").attr('disabled', 'disabled').parent().hide(0); // Show and select the free order payment method. - $("input:radio[@value=free_order]").removeAttr('disabled').attr('checked', 'checked').parent().show(0); + $("input:radio[value=free_order]").removeAttr('disabled').attr('checked', 'checked').parent().show(0); // Refresh the payment details section. get_payment_details('cart/checkout/payment_details/free_order');