From 654d1bd3b2c8db09277bc4f0bde2312edce610e3 Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Fri, 13 Apr 2012 08:18:05 -0700 Subject: [PATCH] exposed open/close as public. issue #27 --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 843a0131..56645782 100755 --- a/select2.js +++ b/select2.js @@ -1379,7 +1379,7 @@ var args = Array.prototype.slice.call(arguments, 0), opts, select2, - value, multiple, allowedMethods = ["val", "destroy"]; + value, multiple, allowedMethods = ["val", "destroy", "open", "close"]; this.each(function () { if (args.length === 0 || typeof(args[0]) === "object") {