From 99dbc66d954ea811d9b2076444cd12341b2b6c42 Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Mon, 15 Jul 2013 23:10:19 -0700 Subject: [PATCH] fix incorrect reference. fixes #1530 --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index f6cdcc90..2217f0c4 100644 --- a/select2.js +++ b/select2.js @@ -2978,7 +2978,7 @@ the specific language governing permissions and limitations under the Apache Lic self.updateSelection(data); self.clearSearch(); if (triggerChange) { - self.triggerChange(this.buildChangeDetails(oldData, this.data())); + self.triggerChange(self.buildChangeDetails(oldData, this.data())); } }); }