Changeset 2427
- Timestamp:
- 01/29/2016 04:51:49 PM (9 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/payment-request.php
r2420 r2427 178 178 plugins_url( 'javascript/payment-requests.js', __DIR__ ), 179 179 array( 'wordcamp-budgets', 'wcb-attached-files', 'jquery' ), 180 1,180 2, 181 181 true 182 182 ); -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/javascript/payment-requests.js
r2409 r2427 11 11 try { 12 12 app.registerEventHandlers(); 13 wcb.attachedFilesView = new wcb.AttachedFilesView( { el: $( '# wcp_files' ) } );13 wcb.attachedFilesView = new wcb.AttachedFilesView( { el: $( '#row-files' ) } ); 14 14 wcb.setupDatePicker( '#wcp_general_info' ); 15 15 wcb.setupDatePicker( '#submitpost.wcb' ); … … 31 31 currency.change( wcb.setDefaultPaymentMethod ); 32 32 currency.trigger( 'change' ); // Set the initial state 33 $( '# wcp_files' ).find( 'a.wcb-insert-media' ).click( wcb.showUploadModal );33 $( '#row-files' ).find( 'a.wcb-insert-media' ).click( wcb.showUploadModal ); 34 34 $( '#wcp_mark_incomplete_checkbox' ).click( app.requireNotes ); 35 35 },
Note: See TracChangeset
for help on using the changeset viewer.