1
0
mirror of synced 2024-11-25 14:26:03 +03:00

fix page 2+ rendering. fixes #175

This commit is contained in:
Igor Vaynberg 2012-06-29 05:20:06 -07:00
parent 6b736669d2
commit adc15e3682

View File

@ -582,12 +582,7 @@
populate(results, 0);
children=container.children();
if (children.length===0) {
container.html(markup.join(""));
} else {
$(children[children.length-1]).append(markup.join(""));
}
container.append(markup.join(""));
for (uid in uidToData) {
$("#select2-result-"+uid, container).data("select2-data", uidToData[uid]);