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
|
@ -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