1
0
mirror of synced 2024-11-26 23:06:02 +03:00

formatSearching can be disabled

formatSearching can be disabled by returning null from the function which allows the searching message to be disabled.
This commit is contained in:
Jacob Haslehurst 2012-09-21 16:12:27 +10:00
parent 65493206a7
commit 3fcfbed03a

View File

@ -1226,7 +1226,7 @@
}
return;
}
else {
else if (opts.formatSearching() != null) {
render("<li class='select2-searching'>" + opts.formatSearching() + "</li>");
}