Changeset 29507
- Timestamp:
- 08/15/2014 06:59:25 PM (10 years ago)
- Location:
- trunk/src/wp-includes/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/media-models.js
r29490 r29507 825 825 * @access private 826 826 */ 827 _requery: function( cache) {827 _requery: function( refresh ) { 828 828 var props; 829 829 if ( this.props.get('query') ) { 830 830 props = this.props.toJSON(); 831 props.cache = ( true !== cache);831 props.cache = ( true !== refresh || _.isUndefined( refresh ) ); 832 832 this.mirror( Query.get( props ) ); 833 833 } -
trunk/src/wp-includes/js/media-views.js
r29494 r29507 5907 5907 5908 5908 if ( changed.length ) { 5909 $.when (changed ).then( function() {5909 $.when.apply( null, changed ).then( function() { 5910 5910 library._requery( true ); 5911 5911 } );
Note: See TracChangeset
for help on using the changeset viewer.