diff --git a/select2.js b/select2.js index 38111166..70776650 100755 --- a/select2.js +++ b/select2.js @@ -81,7 +81,7 @@ } if (k.metaKey) return true; - + return false; }, isFunctionKey: function (k) { @@ -883,12 +883,11 @@ self.opts.populateResults.call(this, results, data.results, {term: term, page: page, context:context}); + more.remove(); + if (data.more===true) { - more.detach(); - results.children().filter(":last").append(more); - more.removeClass("select2-active"); - } else { - more.remove(); + results.children().filter(":last").append("