meltingice/ajax-chosen — pull request #35 by skwp (2012-07-12 00:47:16+00:00)
Title: Don't trim typed input so that user's typing is not disrupted

If the user types 'foo ' with a space, and the ajax call comes back
successfully, it replaces the 'foo ' with 'foo' (trimmed).

This causes inconsistent user experience as the user may have simply
paused while typing a space, and the space is then removed, mangling
his input. Note that this fix simply avoids trimming the user's visual
input, while still sending a trimmed value to the server.