From 3fcfbed03a9d353e85b2f4d5684cee7b7b2445f9 Mon Sep 17 00:00:00 2001 From: Jacob Haslehurst Date: Fri, 21 Sep 2012 16:12:27 +1000 Subject: [PATCH] formatSearching can be disabled formatSearching can be disabled by returning null from the function which allows the searching message to be disabled. --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 9a08f750..cf9b171e 100644 --- a/select2.js +++ b/select2.js @@ -1226,7 +1226,7 @@ } return; } - else { + else if (opts.formatSearching() != null) { render("
  • " + opts.formatSearching() + "
  • "); }