r102241 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102240‎ | r102241 | r102242 >
Date:03:27, 7 November 2011
Author:kaldari
Status:ok
Tags:
Comment:
follow-up to r102239, correct id for currency select list
Modified paths:
  • /trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects.js (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects.js
@@ -10,10 +10,10 @@
1111 language = matches[1];
1212 }
1313
14 - var currencyField = document.getElementById( 'currency' );
 14+ var currencyField = document.getElementById( 'input_currency_code' );
1515 var currency = '';
1616 if ( currencyField && currencyField.type == 'select-one' ) { // currency is a dropdown select
17 - currency = $( 'select#currency option:selected' ).val();
 17+ currency = $( 'select#input_currency_code option:selected' ).val();
1818 } else {
1919 currency = $( "input[name='currency_code']" ).val();
2020 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r102245MFT r102241, r102242awjrichards03:33, 7 November 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r102239checking for select lists in webitects globalcollect formskaldari03:23, 7 November 2011

Status & tagging log