Changeset 12447
- Timestamp:
- 08/16/2019 01:50:51 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/js/buddypress-nouveau.js
r12322 r12447 319 319 $( data.target ).fadeOut( 100, function() { 320 320 self.inject( this, response.data.contents, data.method ); 321 $( this ).fadeIn( 100 ); 322 321 $( this ).fadeIn( 100, 'swing', function(){ 322 // Inform other scripts the list of objects has been refreshed. 323 $( data.target ).trigger( 'bp_ajax_request', $.extend( data, { response: response.data } ) ); 324 } ); 325 } ); 326 } ); 327 328 } else { 329 $( data.target ).fadeOut( 100, function() { 330 self.inject( this, response.data.contents, data.method ); 331 $( this ).fadeIn( 100, 'swing', function(){ 323 332 // Inform other scripts the list of objects has been refreshed. 324 333 $( data.target ).trigger( 'bp_ajax_request', $.extend( data, { response: response.data } ) ); 325 334 } ); 326 } );327 328 } else {329 $( data.target ).fadeOut( 100, function() {330 self.inject( this, response.data.contents, data.method );331 $( this ).fadeIn( 100 );332 333 // Inform other scripts the list of objects has been refreshed.334 $( data.target ).trigger( 'bp_ajax_request', $.extend( data, { response: response.data } ) );335 335 } ); 336 336 }
Note: See TracChangeset
for help on using the changeset viewer.