Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed multiple levels hirechal data. #485

Merged
merged 1 commit into from

2 participants

@lisandropuzzolo

Fixed line 2154 to allow Select2 work with multiple levels hireachal data.

@lisandropuzzolo lisandropuzzolo Update select2.js
Fixed line 2154 to allow Select2 work with multiple levels hireachal data.
da41457
@ivaynberg ivaynberg merged commit c4e00c6 into select2:master
@ivaynberg ivaynberg referenced this pull request
Closed

Hirechal Data bug #484

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 10, 2012
  1. @lisandropuzzolo

    Update select2.js

    lisandropuzzolo authored
    Fixed line 2154 to allow Select2 work with multiple levels hireachal data.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  select2.js
View
2  select2.js
@@ -2151,7 +2151,7 @@ the specific language governing permissions and limitations under the Apache Lic
});
compound.each2(function(i, e) {
- if (e.find(".select2-result-selectable").length==0) {
+ if (!e.is('.select2-result-selectable') && e.find(".select2-result-selectable").length==0) { // FIX FOR HIRECHAL DATA
e.addClass("select2-disabled");
} else {
e.removeClass("select2-disabled");
Something went wrong with that request. Please try again.