r101109 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101108‎ | r101109 | r101110 >
Date:01:14, 28 October 2011
Author:kaldari
Status:ok
Tags:
Comment:
some form fixes for webitects form
Modified paths:
  • /trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/webitects_2_3step.html (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/html/webitects_2_3step.html (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/validate_input.js (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/validate_input.js
@@ -61,8 +61,9 @@
6262 }
6363 }
6464 var stateField = document.getElementById( 'state' );
 65+ var selectedState = stateField.options[stateField.selectedIndex].value;
6566 var countryField = document.getElementById( 'country' );
66 - if( stateField.options[stateField.selectedIndex].value == 'YY' ) {
 67+ if( selectedState == 'YY' || selectedState == '' ) {
6768 output += mw.msg( 'donate_interface-error-msg-js' ) + ' ' + mw.msg( 'donate_interface-error-msg-state' ) + '.\r\n';
6869 }
6970
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/html/webitects_2_3step.html
@@ -37,7 +37,6 @@
3838 }
3939 #amount-table-white label { font-size: 1.1em; }
4040
41 - #donate-body { width: 348px; }
4241 #donate-body h3 { font-size: 17px; }
4342
4443 #step1wrapper, #step2wrapper, #step3wrapper { width: 325px; }
Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/webitects_2_3step.html
@@ -35,7 +35,6 @@
3636 }
3737 #amount-table-white label { font-size: 1.1em; }
3838
39 - #donate-body { width: 348px; }
4039 #donate-body h3 { font-size: 17px; }
4140
4241 #step1wrapper, #step2wrapper, #step3wrapper { width: 325px; }

Follow-up revisions

RevisionCommit summaryAuthorDate
r101111MFT r101109awjrichards01:23, 28 October 2011

Status & tagging log