ivaynberg/select2 — pull request #374 by tzarger (2012-09-04 04:48:10+00:00)
Title: Fix for ValidationEngine & hiding errors on change.

Copying class attribute to container causes and issue with the JQuery ValidationEngine. In order to prevent double validation, a simple regex replace call to copy all but the actual validation[] class.

Also, added a blurOnChange default setting, to allow people to trigger and blur() event in case of using JQuery ValidationEngine in order to immediately hide the validation error message when selecting an option.