ivaynberg/select2 — pull request #1221 by ITikhonov (2013-04-26 10:24:02+00:00)
Title: Add search term on blur

When using tags when you enter something into text field and leave it via clicking nothing gets selected, text field leaved empty. Which is quite annoying.

If selectOnBlur is turned on, then something you hovered with mouse is selected. That is annoying even more.

This patch make it sure that on blur only typed by hand (if any) gets selected.