ivaynberg/select2 — pull request #1017 by vol7ron (2013-03-12 14:54:32+00:00)
Title: Update select2.js

In adaptContainerCssClass, variable "c" in a string in FF, but an object in IE. We've adapted the function so that if it is an object and has a length, then return it as a string, otherwise to return the object (null/undefined?)

This should fix https://github.com/ivaynberg/select2/issues/937
Credit to @frntz for also identifying the origin of the issue