owncloud/core — pull request #693 by tanghus (2012-12-03 18:16:30+00:00)
Title: Enhanced multiSelect jquery plugin.

Some enhancements to the multiSelect jquery widget as used in settings/users. Refs https://github.com/owncloud/apps/issues/244#issuecomment-10814408

Changes:

* Previously only used the underlying options values, not the text.
* Can now be used as singleSelect like Eric Hynds [jquery.multiselect](http://www.erichynds.com/examples/jquery-ui-multiselect-widget/demos/#single)
* If there's not enough room in the viewport the widget will pop up instead of drop down.
* Uses both items in the `checked` array argument and sets those as selected, and adds items to the `checked` array that are selected.

/cc @jancborchardt @icewind1991