Themes: Prevent the Themes search field default action after [40572].
Props boonebgorges. Fixes #41803. Built from https://develop.svn.wordpress.org/trunk@41337 git-svn-id: http://core.svn.wordpress.org/trunk@41170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cdccce5164
commit
4c60dfa69b
|
@ -105,7 +105,10 @@ themes.view.Appearance = wp.Backbone.View.extend({
|
||||||
view.render();
|
view.render();
|
||||||
this.searchContainer
|
this.searchContainer
|
||||||
.append( $.parseHTML( '<label class="screen-reader-text" for="wp-filter-search-input">' + l10n.search + '</label>' ) )
|
.append( $.parseHTML( '<label class="screen-reader-text" for="wp-filter-search-input">' + l10n.search + '</label>' ) )
|
||||||
.append( view.el );
|
.append( view.el )
|
||||||
|
.on( 'submit', function( event ) {
|
||||||
|
event.preventDefault();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
// Checks when the user gets close to the bottom
|
// Checks when the user gets close to the bottom
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-alpha-41335';
|
$wp_version = '4.9-alpha-41337';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue