Changeset 32101
- Timestamp:
- 04/09/2015 08:34:10 PM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/css/media-views.css
r32073 r32101 1510 1510 -webkit-background-size: 20px 20px; 1511 1511 background-size: 20px 20px; 1512 display: none; 1512 float: right; 1513 display: inline-block; 1514 visibility: hidden; 1513 1515 opacity: 0.7; 1514 1516 filter: alpha(opacity=70); … … 1516 1518 height: 20px; 1517 1519 margin: 0; 1520 vertical-align: middle; 1521 } 1522 1523 .media-frame .spinner.is-active { 1524 visibility: visible; 1518 1525 } 1519 1526 … … 1537 1544 1538 1545 .attachment-details .settings-save-status .spinner { 1539 margin : 0 5px 0;1546 margin-left: 5px; 1540 1547 } 1541 1548 … … 1545 1552 } 1546 1553 1547 .attachment-details.save-waiting .settings-save-status .spinner, 1554 .attachment-details.save-waiting .settings-save-status .spinner { 1555 visibility: visible; 1556 } 1557 1548 1558 .attachment-details.save-complete .settings-save-status .saved { 1549 1559 display: block; … … 1788 1798 1789 1799 .media-frame .embed-loading .embed-url .spinner { 1790 display: block;1800 visibility: visible; 1791 1801 } 1792 1802 -
trunk/src/wp-includes/js/media/views.js
r31960 r32101 4547 4547 } 4548 4548 4549 this.spinner.show();4550 4551 4549 this.fetch(); 4552 4550 }, 600 ), … … 4607 4605 this.model.unset( 'width', opts ); 4608 4606 } 4609 4610 this.spinner.hide();4611 4607 4612 4608 this.$('.embed-container').show().find('.embed-preview').html( html ); … … 7464 7460 if ( ! this.spinnerTimeout ) { 7465 7461 this.spinnerTimeout = _.delay(function( $el ) { 7466 $el. show();7462 $el.addClass( 'is-active' ); 7467 7463 }, this.delay, this.$el ); 7468 7464 } … … 7472 7468 7473 7469 hide: function() { 7474 this.$el. hide();7470 this.$el.removeClass( 'is-active' ); 7475 7471 this.spinnerTimeout = clearTimeout( this.spinnerTimeout ); 7476 7472 -
trunk/src/wp-includes/js/media/views/embed/link.js
r31935 r32101 34 34 return; 35 35 } 36 37 this.spinner.show();38 36 39 37 this.fetch(); … … 96 94 } 97 95 98 this.spinner.hide();99 100 96 this.$('.embed-container').show().find('.embed-preview').html( html ); 101 97 } -
trunk/src/wp-includes/js/media/views/spinner.js
r31935 r32101 18 18 if ( ! this.spinnerTimeout ) { 19 19 this.spinnerTimeout = _.delay(function( $el ) { 20 $el. show();20 $el.addClass( 'is-active' ); 21 21 }, this.delay, this.$el ); 22 22 } … … 26 26 27 27 hide: function() { 28 this.$el. hide();28 this.$el.removeClass( 'is-active' ); 29 29 this.spinnerTimeout = clearTimeout( this.spinnerTimeout ); 30 30
Note: See TracChangeset
for help on using the changeset viewer.