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:
Dominik Schilling 2013-11-23 11:54:10 +00:00
parent c437b2d508
commit 457a48d735
1 changed files with 1 additions and 0 deletions

View File

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