From c57dd1f0ff21cf7d692165532015c5a5cd497585 Mon Sep 17 00:00:00 2001 From: vitalets Date: Sat, 22 Jun 2013 18:19:44 +0400 Subject: [PATCH] fix: data not passed in select2-loaded event --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 630dd07e..60f80864 100644 --- a/select2.js +++ b/select2.js @@ -1617,7 +1617,7 @@ the specific language governing permissions and limitations under the Apache Lic postRender(); - this.opts.element.trigger({ type: "select2-loaded", data:data }); + this.opts.element.trigger({ type: "select2-loaded", items: data }); })}); },