Don't replace user text with suggestion in searchbox
authorm4tx <m4tx@m4tx.pl>
Fri, 2 Jan 2015 01:26:26 +0000 (02:26 +0100)
committerm4tx <m4tx@m4tx.pl>
Fri, 2 Jan 2015 01:26:26 +0000 (02:26 +0100)
commit3090acb68b05a3e029dad5fd50c6956858327934
tree22a73f5aea49365d9e5b4cb6f8f6988ddadc8cb3
parente4701c646cffd5b5e8d7363cde9d04d1456a80f7
Don't replace user text with suggestion in searchbox

On Enter press, there was highlight() called, which also replaced the text.
Since it seems to have no use here (highlight() highlights the selected
suggestion in the box, but the box is immediately hidden, and there's
probably no case when the suggestion is chosen, but the text in searchbox
does not match it), it was removed.

Bug: T53900
Change-Id: I9fc2e954ae429ba166ddc7c713f9790a25a837c2
resources/src/jquery/jquery.suggestions.js