1
0
mirror of synced 2024-11-22 04:56:08 +03:00

Merge pull request #485 from lisandropuzzolo/patch-1

Update select2.js
This commit is contained in:
Igor Vaynberg 2012-10-10 13:35:15 -07:00
commit c4e00c6926

View File

@ -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");