WordPress.org

Make WordPress Core

Changeset 21306


Ignore:
Timestamp:
07/23/12 22:18:28 (21 months ago)
Author:
azaozz
Message:

Fix internal linking search spinner position, fixes #21351

Location:
trunk/wp-includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-editor.php

    r21300 r21306  
    784784            <div class="link-search-wrapper"> 
    785785                <label> 
    786                     <span><?php _e( 'Search' ); ?></span> 
     786                    <span><img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> 
     787                    <?php _e( 'Search' ); ?></span> 
    787788                    <input type="search" id="search-field" class="link-search-field" tabindex="60" autocomplete="off" /> 
    788                     <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> 
    789789                </label> 
    790790            </div> 
  • trunk/wp-includes/css/editor.dev.css

    r21296 r21306  
    12921292#wp-link .link-search-wrapper span { 
    12931293    float: left; 
    1294     margin-top: 6px; 
     1294    margin-top: 4px; 
    12951295} 
    12961296 
     
    13011301 
    13021302#wp-link .link-search-wrapper img.waiting { 
    1303     margin: 8px 1px 0 4px; 
    1304     float: left; 
     1303    margin: 0; 
    13051304    display: none; 
     1305    vertical-align: text-bottom; 
    13061306} 
    13071307 
  • trunk/wp-includes/js/wplink.dev.js

    r20428 r21306  
    304304 
    305305                wpLink.lastSearch = search; 
    306                 waiting = t.siblings('img.waiting').show(); 
     306                waiting = t.parent().find('img.waiting').show(); 
    307307 
    308308                rivers.search.change( search ); 
Note: See TracChangeset for help on using the changeset viewer.