From a903b5d3c1faf72e38f07f3cc5da7dd39f91aec0 Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Tue, 9 Apr 2013 19:53:36 -0700 Subject: [PATCH] catch up to master --- select2-latest.html | 16 +++++++++++++++- select2-master | 2 +- select2-test.html | 32 ++++++++++++++++++-------------- 3 files changed, 34 insertions(+), 16 deletions(-) diff --git a/select2-latest.html b/select2-latest.html index 16ede629..ca2f56eb 100644 --- a/select2-latest.html +++ b/select2-latest.html @@ -1625,6 +1625,20 @@ $("#select").select2({

+
+
+

select

+

Fired when a choice is being selected in the dropdown, but before any modification has been made to the selection. + This event is used to allow the user to reject selection by calling event.preventDefault()

+

+

The event object contains the following custom properties: +

+
val
the id of the highlighted choice object
+
object
the choice object about to be selected
+
+

+
+

selected

@@ -1633,7 +1647,7 @@ $("#select").select2({

The event object contains the following custom properties:

val
the id of the highlighted choice object
-
object
the highlighted choice object
+
object
the choice object that was selected

diff --git a/select2-master b/select2-master index 2bf5a763..dc27a5b7 160000 --- a/select2-master +++ b/select2-master @@ -1 +1 @@ -Subproject commit 2bf5a763c5e884cdf0295aa0d5072968bab941e2 +Subproject commit dc27a5b74d78c1f04306caba576c27973311424b diff --git a/select2-test.html b/select2-test.html index 91b9ec20..8da16c31 100644 --- a/select2-test.html +++ b/select2-test.html @@ -59,20 +59,7 @@ }); -
hello there
- + + + +
hello there
+ + \ No newline at end of file