Changeset 2346
- Timestamp:
- 01/21/2016 01:14:17 PM (9 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/javascript/attached-files.js
r2342 r2346 45 45 app.AttachedFilesView = Backbone.View.extend( { 46 46 initialize: function() { 47 var filesList = $( '.wcb_files_list' ); 48 47 49 _.bindAll( this, 'render', 'appendFile' ); 48 50 49 51 this.collection = new app.AttachedFiles( wcbAttachedFiles ); 50 52 this.collection.bind( 'add', this.appendFile ); 53 54 filesList.html( '' ); // remove the loading spinner 55 filesList.removeClass( 'loading-content' ); 51 56 52 57 this.render(); -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/javascript/sponsor-invoices.js
r2327 r2346 12 12 app.registerEventHandlers(); 13 13 $( '#_wcbsi_sponsor_id' ).trigger( 'change' ); // Populate the initial sponsor information 14 $( '#wcbsi-sponsor-information' ).removeClass( 'loading-content' ); 14 15 wcb.setupDatePicker( '#wcbsi_sponsor_invoice' ); 15 16 } catch ( exception ) { -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/sponsor-invoice/metabox-general.php
r2301 r2346 34 34 </select> 35 35 36 <div id="wcbsi-sponsor-information"></div> <?php // This will be populated dynamically ?> 36 <div id="wcbsi-sponsor-information" class="loading-content"> 37 <span class="spinner is-active"></span> 38 </div> 37 39 38 40 <?php require( __DIR__ . '/template-sponsor-information.php' ); ?> -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/wordcamp-budgets/field-attached-files.php
r2342 r2346 15 15 </h4> 16 16 17 <ul class="wcb_files_list"></ul> <?php // Populated dynamically ?> 17 <ul class="wcb_files_list loading-content"> 18 <li> 19 <span class="spinner is-active"></span> 20 </li> 21 </ul> 18 22 19 23 <p class="wcb_no_files_uploaded <?php echo esc_attr( $files ? 'hidden' : 'active' ); ?>">
Note: See TracChangeset
for help on using the changeset viewer.