Changeset 2331
- Timestamp:
- 01/19/2016 10:03:13 PM (8 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/payment-request.php
r2327 r2331 200 200 wp_enqueue_script( 'wcb-attached-files' ); 201 201 } 202 203 wp_localize_script(204 'payment-requests',205 'wcpLocalizedStrings', // todo merge into WordCampBudgets var206 array(207 'uploadModalTitle' => __( 'Attach Supporting Documentation', 'wordcamporg' ),208 )209 );210 202 } 211 203 -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/wordcamp-budgets.php
r2327 r2331 60 60 'wcbLocalizedStrings', // todo merge into WordCampBudgets var 61 61 array( 62 'uploadModalTitle' => __( 'Attach Supporting Documentation', 'wordcamporg' ), 62 63 'uploadModalButton' => __( 'Attach Files', 'wordcamporg' ), 63 64 ) -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/javascript/payment-requests.js
r2330 r2331 23 23 registerEventHandlers : function() { 24 24 var paymentCategory = $( '#payment_category' ); 25 25 26 26 $( '#wcp_payment_details' ).find( 'input[name=payment_method]' ).change( wcb.togglePaymentMethodFields ); 27 27 paymentCategory.change( app.toggleOtherCategoryDescription ); 28 28 paymentCategory.trigger( 'change' ); // Set the initial state 29 $( '#wcp_files' ).find( 'a.wcp-insert-media' ).click( { title : wcpLocalizedStrings.uploadModalTitle },wcb.showUploadModal );29 $( '#wcp_files' ).find( 'a.wcp-insert-media' ).click( wcb.showUploadModal ); 30 30 $( '#wcp_mark_incomplete_checkbox' ).click( app.requireNotes ); 31 31 }, -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/javascript/wordcamp-budgets.js
r2327 r2331 30 30 // Create the frame 31 31 app.fileUploadFrame = wp.media( { 32 title: event.data.title,32 title: wcbLocalizedStrings.uploadModalTitle, 33 33 multiple: true, 34 34 button: {
Note: See TracChangeset
for help on using the changeset viewer.