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:
Dominik Schilling (ocean90) 2013-11-23 11:53:49 +00:00
parent 1a5d00b986
commit cb1641b14b

View File

@ -250,6 +250,7 @@
$input.val($currentResult.text());
}
$results.hide();
$input.trigger('change');
if (options.onSelect)
options.onSelect.apply($input[0]);