Customizer: Fix keyboard events for the menu items search field.
Replace the `change` event with `keyup`, see https://core.trac.wordpress.org/ticket/26600#comment:59 for background. props tywayne. fixes #32677. Built from https://develop.svn.wordpress.org/trunk@32824 git-svn-id: http://core.svn.wordpress.org/trunk@32795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
504db9233b
commit
5864a7ad44
|
@ -97,7 +97,7 @@
|
||||||
|
|
||||||
events: {
|
events: {
|
||||||
'input #menu-items-search': 'debounceSearch',
|
'input #menu-items-search': 'debounceSearch',
|
||||||
'change #menu-items-search': 'debounceSearch',
|
'keyup #menu-items-search': 'debounceSearch',
|
||||||
'click #menu-items-search': 'debounceSearch',
|
'click #menu-items-search': 'debounceSearch',
|
||||||
'focus .menu-item-tpl': 'focus',
|
'focus .menu-item-tpl': 'focus',
|
||||||
'click .menu-item-tpl': '_submit',
|
'click .menu-item-tpl': '_submit',
|
||||||
|
|
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.3-alpha-32823';
|
$wp_version = '4.3-alpha-32824';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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