Permalink
Browse files

Merge pull request #485 from lisandropuzzolo/patch-1

Update select2.js
  • Loading branch information...
2 parents 1dd511e + da41457 commit c4e00c6926198d05f08600c191e0e64fc37d429a @ivaynberg ivaynberg committed Oct 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 select2.js
View
@@ -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");

0 comments on commit c4e00c6

Please sign in to comment.