From 37bf85ead074d45ed23ad5ef4d935184f5811f32 Mon Sep 17 00:00:00 2001 From: Frederick John Milens III Date: Tue, 2 Jul 2013 10:38:09 -0500 Subject: [PATCH] Added select2-loaded event trigger in loadMoreIfNeeded --- select2.js | 1 + 1 file changed, 1 insertion(+) diff --git a/select2.js b/select2.js index ce3e8470..f28aeb8e 100644 --- a/select2.js +++ b/select2.js @@ -1498,6 +1498,7 @@ the specific language governing permissions and limitations under the Apache Lic self.positionDropdown(); self.resultsPage = page; self.context = data.context; + this.opts.element.trigger({ type: "select2-loaded", items: data }); })}); } },