1
0
mirror of synced 2025-02-10 17:19:23 +03:00

IE and compat mode :/

Fixed 2 minor typos which prevent select2 to work in IE compat mode.
This commit is contained in:
Gökhan Sirin 2014-08-06 18:24:48 +02:00
parent 3c17d3b5bb
commit 487b329893

View File

@ -450,7 +450,7 @@ the specific language governing permissions and limitations under the Apache Lic
hasError: true, hasError: true,
jqXHR: jqXHR, jqXHR: jqXHR,
textStatus: textStatus, textStatus: textStatus,
errorThrown: errorThrown, errorThrown: errorThrown
}; };
query.callback(results); query.callback(results);
@ -3473,7 +3473,7 @@ the specific language governing permissions and limitations under the Apache Lic
formatInputTooLong: function (input, max) { var n = input.length - max; return "Please delete " + n + " character" + (n == 1 ? "" : "s"); }, formatInputTooLong: function (input, max) { var n = input.length - max; return "Please delete " + n + " character" + (n == 1 ? "" : "s"); },
formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); }, formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); },
formatLoadMore: function (pageNumber) { return "Loading more results…"; }, formatLoadMore: function (pageNumber) { return "Loading more results…"; },
formatSearching: function () { return "Searching…"; }, formatSearching: function () { return "Searching…"; }
}; };
$.extend($.fn.select2.defaults, $.fn.select2.locales['en']); $.extend($.fn.select2.defaults, $.fn.select2.locales['en']);