meltingice/ajax-chosen — pull request #49 by elkelk (2012-12-14 20:05:48+00:00)
Title: Multiple options dissapeared when ajax response did not contain the selected values

When using a multiple select with opt groups, previously selected items would disappear when the ajax response was populated. We changed the ajax data population to look for selected values in opt groups and remove only empty opt groups. We also re populate existing opt groups if present.