Give search submit buttons a unique ID. Props dd32. fixes #15979

git-svn-id: https://develop.svn.wordpress.org/trunk@17151 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-12-26 21:49:51 +00:00
parent 5c5393fc22
commit 1430acde73
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ class WP_List_Table {
<p class="search-box">
<label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label>
<input type="text" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" />
<?php submit_button( $text, 'button', 'submit', false ); ?>
<?php submit_button( $text, 'button', 'submit', false, array('id' => 'search-submit') ); ?>
</p>
<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" />
<?php