Changeset 2825 for sites/branches/application-tracking/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments
- Timestamp:
- 03/28/2016 05:18:43 PM (10 years ago)
- Location:
- sites/branches/application-tracking/wordcamp.org
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
public_html/wp-content/plugins/wordcamp-payments (modified) (1 prop)
-
public_html/wp-content/plugins/wordcamp-payments/includes/wordcamp-budgets.php (modified) (1 diff)
-
public_html/wp-content/plugins/wordcamp-payments/javascript/wordcamp-budgets.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sites/branches/application-tracking/wordcamp.org
- Property svn:mergeinfo changed
/sites/trunk/wordcamp.org merged: 2819
- Property svn:mergeinfo changed
-
sites/branches/application-tracking/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments
- Property svn:mergeinfo changed
/sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments (added) merged: 2819
- Property svn:mergeinfo changed
-
sites/branches/application-tracking/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/wordcamp-budgets.php
r2701 r2825 129 129 plugins_url( 'javascript/wordcamp-budgets.js', __DIR__ ), 130 130 array( 'jquery', 'jquery-ui-datepicker', 'media-upload', 'media-views' ), 131 2,131 3, 132 132 true 133 133 ); -
sites/branches/application-tracking/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/javascript/wordcamp-budgets.js
r2693 r2825 37 37 $( inputField ).prop( 'required', false ); 38 38 } ); 39 40 app.checkRadioButtons(); 39 41 }, 40 42 … … 76 78 77 79 // todo make the transition smoother 80 81 app.checkRadioButtons(); 82 }, 83 84 /* 85 * Make sure all radio buttons have values in Chrome 86 * 87 * This is only to work around bug #596138 88 * 89 * @see https://bugs.chromium.org/p/chromium/issues/detail?id=596138 90 * @todo remove this after Chrome 51 is adopted by most users 91 */ 92 checkRadioButtons : function() { 93 var checkedPaymentMethods = $( 'input[name="payment_method"]:checked' ); 94 95 if ( ! window.hasOwnProperty( 'chrome' ) ) { 96 return; 97 } 98 99 if ( 'Direct Deposit' != checkedPaymentMethods.val() ) { 100 if ( 0 === $( 'input[name="ach_account_type"]:checked' ).length ) { 101 $( '#ach_account_type_company' ).prop( 'checked', true ); 102 } 103 } 104 105 if ( 0 === checkedPaymentMethods.length ) { 106 $( '#payment_method_direct_deposit' ).prop( 'checked', true ); 107 } 78 108 }, 79 109
Note: See TracChangeset
for help on using the changeset viewer.