TinyMCE, inline link: when searching, do not empty the URL input field when using the arrow keys to highlight items.

Props afercia.
See #33301.
Built from https://develop.svn.wordpress.org/trunk@36974


git-svn-id: http://core.svn.wordpress.org/trunk@36942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2016-03-12 19:41:26 +00:00
parent 8592072857
commit 2448d106a2
6 changed files with 5 additions and 3 deletions

View File

@ -348,6 +348,7 @@
},
focus: function( event, ui ) {
$input.attr( 'aria-activedescendant', 'mce-wp-autocomplete-' + ui.item.ID );
event.preventDefault();
},
select: function( event, ui ) {
$input.val( ui.item.permalink );

File diff suppressed because one or more lines are too long

View File

@ -76,6 +76,7 @@ var wpLink;
},
focus: function( event, ui ) {
$input.attr( 'aria-activedescendant', 'mce-wp-autocomplete-' + ui.item.ID );
event.preventDefault();
},
select: function( event, ui ) {
$input.val( ui.item.permalink );

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-beta3-36973';
$wp_version = '4.5-beta3-36974';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.