Fix internal linking search spinner position, fixes #21351

git-svn-id: http://core.svn.wordpress.org/trunk@21306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2012-07-23 22:18:28 +00:00
parent 3df1783276
commit 4a9e3f4297
3 changed files with 6 additions and 6 deletions

View File

@ -783,9 +783,9 @@ final class _WP_Editors {
<div id="search-panel"<?php if ( ! $show_internal ) echo ' style="display:none"'; ?>>
<div class="link-search-wrapper">
<label>
<span><?php _e( 'Search' ); ?></span>
<span><img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
<?php _e( 'Search' ); ?></span>
<input type="search" id="search-field" class="link-search-field" tabindex="60" autocomplete="off" />
<img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
</label>
</div>
<div id="search-results" class="query-results">

View File

@ -1291,7 +1291,7 @@ html[dir="rtl"] .wp-switch-editor {
#wp-link .link-search-wrapper span {
float: left;
margin-top: 6px;
margin-top: 4px;
}
#wp-link .link-search-wrapper input[type="text"] {
@ -1300,9 +1300,9 @@ html[dir="rtl"] .wp-switch-editor {
}
#wp-link .link-search-wrapper img.waiting {
margin: 8px 1px 0 4px;
float: left;
margin: 0;
display: none;
vertical-align: text-bottom;
}
#wp-link .link-target {

View File

@ -303,7 +303,7 @@ var wpLink;
return;
wpLink.lastSearch = search;
waiting = t.siblings('img.waiting').show();
waiting = t.parent().find('img.waiting').show();
rivers.search.change( search );
rivers.search.ajax( function(){ waiting.hide(); });