Lines Matching refs:selectable
770 if ($(e.target).closest(".select2-result-selectable").length > 0) {
887 var i, l, result, selectable, disabled, compound, node, label, innerContainer, formatted;
896 selectable = (!disabled) && (id(result) !== undefined);
903 node.addClass(selectable ? "select2-result-selectable" : "select2-result-unselectable");
1476 return this.results.find(".select2-result-selectable:not(.select2-disabled):not(.select2-selected)");
1487 if (choice.hasClass("select2-result-selectable") && !choice.hasClass("select2-disabled") && !choice.hasClass("select2-selected")) {
1544 var el = $(event.target).closest(".select2-result-selectable");
1638 self.liveRegion.text(self.opts.formatMatches(results.find('.select2-result-selectable').length));
3041 choice.find(".select2-result-selectable").addClass("select2-selected");
3046 // hide an optgroup if it doesn't have any selectable children
3047 if (!choice.is('.select2-result-selectable')
3048 && choice.find(".select2-result-selectable:not(.select2-selected)").length === 0) {