Changeset 24576
- Timestamp:
- 07/05/2013 11:17:25 PM (11 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/wp-admin.css
r24574 r24576 2535 2535 background: url('../images/lock.png') no-repeat; 2536 2536 margin: -2px 0 0 6px; 2537 height: 16px;2537 height: 20px; 2538 2538 width: 16px; 2539 2539 } … … 2544 2544 tr.wp-locked .row-actions .trash { 2545 2545 display: none; 2546 } 2547 2548 tr .locked-info { 2549 height: 0; 2550 opacity: 0; 2551 -webkit-transition: height 1s, opacity 500ms; 2552 transition: height 1s, opacity 500ms; 2553 } 2554 2555 tr.wp-locked .locked-info { 2556 height: 22px; 2557 opacity: 1; 2558 -webkit-transition: height 1s, opacity 500ms 500ms; 2559 transition: height 1s, opacity 500ms 500ms; 2546 2560 } 2547 2561 -
trunk/wp-admin/includes/class-wp-posts-list-table.php
r24429 r24576 575 575 } 576 576 577 echo '< span class="locked-avatar">' . $locked_avatar . '</span> <span class="locked-text">' . $locked_text . "</span>\n";577 echo '<div class="locked-info"><span class="locked-avatar">' . $locked_avatar . '</span> <span class="locked-text">' . $locked_text . "</span></div>\n"; 578 578 } 579 579 -
trunk/wp-admin/js/inline-edit-post.js
r24406 r24576 303 303 if ( ! row.hasClass('wp-locked') ) { 304 304 lock_data = locked[key]; 305 row. addClass('wp-locked').find('.column-title .locked-text').text( lock_data.text );305 row.find('.column-title .locked-text').text( lock_data.text ); 306 306 row.find('.check-column checkbox').prop('checked', false); 307 307 … … 310 310 row.find('.column-title .locked-avatar').empty().append( avatar ); 311 311 } 312 row.addClass('wp-locked'); 312 313 } 313 314 } else if ( row.hasClass('wp-locked') ) { 314 row.removeClass('wp-locked').find('.column-title .locked-text').empty();315 row. find('.column-title .locked-avatar').empty();315 // Make room for the CSS animation 316 row.removeClass('wp-locked').delay(1000).find('.locked-info span').empty(); 316 317 } 317 318 });
Note: See TracChangeset
for help on using the changeset viewer.