harvesthq/chosen — pull request #803 by rydenius (2012-09-06 20:42:59+00:00)
Title: Prototype implementation uses @results_none_found before it is set

In the AbstractChosen constructor, set_default_values() is called before set_default_text(). But in the prototype implementation of Chosen, the extended set_default_values() uses @results_none_found, which is set in set_default_text(). Because of this, @results_none_found is undefined when used, and the string 'undefined' is displayed to the end user.