Make initSelection works asynchronously
Merge remote-tracking branch 'upstream/master'
various small fixes. closes #99
Absolutely position dropdown. fixes #84.

Changes to detach dropdown and append to body, and absolutely position
dropdown. Fixes clipping problems with overflowing.

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
Few tweaks to multi style

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
Add support for hierarchies and unselectable items. issue #58

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
Tweak sub-item css a bit to make blue go full width

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
always detach and append the dropdown on open. this ensures it will be the last element in body and thus have the highest z-index. issue #105. issue #84
rename updatePositions() to positionDropdown(). more clear
minor cleanup
Fixed issue with defining the text property as string
because data gets reset afterwards also look at
failing example #e10_2
Fix typo in comment
make getPlaceholder() compatible with jquery 1.4

(doesn't check data- attrs when using .data())
simplify optgroup querying and rendering code. provide a more powerful populateResults() function fixes #58. fixes #105. fixes #84
Merge branch 'master' of https://github.com/ivaynberg/select2 into zIndex
Added zindex options to dropdown so we can make sure it presents itself on top of whatever is existing in the DOM
Using dropdownZIndex as opts. Dropping default value so use can set it via css.
Merge pull request #122 from pothibo/zIndex

set z-index of the dropdown menu in the options
Merge pull request #111 from chrisforbes/patch-1

Fix typo in comment
Merge pull request #107 from butsjoh/master

Fixed issue with loading array data and setting text key to a string