Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/gc.js |
— | — | @@ -64,14 +64,12 @@ |
65 | 65 | if ( typeof data.error !== 'undefined' ) { |
66 | 66 | alert( mw.msg( 'donate_interface-error-msg-general' ) ); |
67 | 67 | $( "#paymentContinue" ).show(); // Show continue button in 2nd section |
68 | | - showStep2(); |
69 | 68 | } else if ( typeof data.result !== 'undefined' ) { |
70 | 69 | if ( data.result.errors ) { |
71 | 70 | var errors = new Array(); |
72 | 71 | $.each( data.result.errors, function( index, value ) { |
73 | 72 | alert( value ); // Show them the error |
74 | 73 | $( "#paymentContinue" ).show(); // Show continue button in 2nd section |
75 | | - showStep2(); // Switch back to 2nd section of form |
76 | 74 | } ); |
77 | 75 | } else { |
78 | 76 | if ( data.result.formaction ) { |
— | — | @@ -80,7 +78,6 @@ |
81 | 79 | $( '#payment' ).append( |
82 | 80 | '<iframe src="'+data.result.formaction+'" width="318" height="314" frameborder="0"></iframe>' |
83 | 81 | ); |
84 | | - |
85 | 82 | } |
86 | 83 | } |
87 | 84 | } |