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:
parent
3df1783276
commit
4a9e3f4297
|
@ -783,9 +783,9 @@ final class _WP_Editors {
|
||||||
<div id="search-panel"<?php if ( ! $show_internal ) echo ' style="display:none"'; ?>>
|
<div id="search-panel"<?php if ( ! $show_internal ) echo ' style="display:none"'; ?>>
|
||||||
<div class="link-search-wrapper">
|
<div class="link-search-wrapper">
|
||||||
<label>
|
<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" />
|
<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>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div id="search-results" class="query-results">
|
<div id="search-results" class="query-results">
|
||||||
|
|
|
@ -1291,7 +1291,7 @@ html[dir="rtl"] .wp-switch-editor {
|
||||||
|
|
||||||
#wp-link .link-search-wrapper span {
|
#wp-link .link-search-wrapper span {
|
||||||
float: left;
|
float: left;
|
||||||
margin-top: 6px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wp-link .link-search-wrapper input[type="text"] {
|
#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 {
|
#wp-link .link-search-wrapper img.waiting {
|
||||||
margin: 8px 1px 0 4px;
|
margin: 0;
|
||||||
float: left;
|
|
||||||
display: none;
|
display: none;
|
||||||
|
vertical-align: text-bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wp-link .link-target {
|
#wp-link .link-target {
|
||||||
|
|
|
@ -303,7 +303,7 @@ var wpLink;
|
||||||
return;
|
return;
|
||||||
|
|
||||||
wpLink.lastSearch = search;
|
wpLink.lastSearch = search;
|
||||||
waiting = t.siblings('img.waiting').show();
|
waiting = t.parent().find('img.waiting').show();
|
||||||
|
|
||||||
rivers.search.change( search );
|
rivers.search.change( search );
|
||||||
rivers.search.ajax( function(){ waiting.hide(); });
|
rivers.search.ajax( function(){ waiting.hide(); });
|
||||||
|
|
Loading…
Reference in New Issue