HemantNegi/jquery.sumoselect — pull request #18 by B2F (2014-11-24 22:09:22+00:00)
Title: Fixing a bug when triggering the selectItem method on a select containin...

Hello,

I fixed a bug when using the optgroups and in-code trgigering of methods selectItem, unSelectItem, disableItem and enableItem: indexes where wrong due to the optGroup offset in the eq jQuery call.

Adding ":not(.optGroup)" where required fixes it.

Thanks a lot for the previous merge !