mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-11 18:11:52 +01:00
Suggest.js: Trigger change event when value is selected.
props obenland. fixes #26110. Built from https://develop.svn.wordpress.org/trunk@26333 git-svn-id: http://core.svn.wordpress.org/trunk@26235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c437b2d508
commit
457a48d735
1
wp-includes/js/jquery/suggest.js
vendored
1
wp-includes/js/jquery/suggest.js
vendored
@ -250,6 +250,7 @@
|
||||
$input.val($currentResult.text());
|
||||
}
|
||||
$results.hide();
|
||||
$input.trigger('change');
|
||||
|
||||
if (options.onSelect)
|
||||
options.onSelect.apply($input[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user