Suggest.js: Trigger change event when value is selected.
props obenland. fixes #26110. git-svn-id: https://develop.svn.wordpress.org/trunk@26333 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1a5d00b986
commit
cb1641b14b
1
src/wp-includes/js/jquery/suggest.js
vendored
1
src/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