Skip to content

Commit 6872664

Browse files
creageivaynberg
authored andcommitted
Save data values to correct context
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
1 parent 151c3fd commit 6872664

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@
526526
}
527527

528528
for (uid in uidToData) {
529-
$("#select2-result-"+uid).data("select2-data", uidToData[uid]);
529+
$("#select2-result-"+uid, container).data("select2-data", uidToData[uid]);
530530
}
531531

532532
},

0 commit comments

Comments
 (0)