Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | var Checkout = function () { |
| 2 | |||
| 3 | return { |
||
| 4 | init: function () { |
||
| 5 | |||
| 6 | $('#checkout').on('change', '#checkout-content input[name="account"]', function() { |
||
| 7 | |||
| 8 | var title = ''; |
||
| 9 | |||
| 10 | if ($(this).attr('value') == 'register') { |
||
| 11 | title = 'Step 2: Account & Billing Details'; |
||
| 12 | } else { |
||
| 13 | title = 'Step 2: Billing Details'; |
||
| 14 | } |
||
| 15 | |||
| 16 | $('#payment-address .accordion-toggle').html(title); |
||
| 17 | }); |
||
| 18 | |||
| 19 | } |
||
| 20 | }; |
||
| 21 | |||
| 22 | }(); |