ivaynberg/select2 — pull request #1273 by iamjochem (2013-05-07 18:22:46+00:00)
Title: When using ajax requests it seems bad form to remove query and search results when closing the widget ... so I hacked this

implement rudimentary option flag that causes search results to stay when widget closes (defaults to FALSE so that behaviour is unaffected unless the "preserveQueryOnClose" option is activated)