1
0
mirror of synced 2024-11-26 06:46:04 +03:00

fix and clean the new formatSearching() method. closes #301

This commit is contained in:
Igor Vaynberg 2012-08-06 20:35:59 -07:00
parent 02326a58ab
commit 921bf06434
2 changed files with 3 additions and 6 deletions

View File

@ -310,11 +310,8 @@ Version: @@ver@@ Timestamp: @@timestamp@@
.select2-results .select2-highlighted em { .select2-results .select2-highlighted em {
background: transparent; background: transparent;
} }
.select2-results .select2-no-results { .select2-results .select2-no-results,
background: #f4f4f4; .select2-results .select2-searching,
display: list-item;
}
.select2-results .select2-selection-limit { .select2-results .select2-selection-limit {
background: #f4f4f4; background: #f4f4f4;
display: list-item; display: list-item;

View File

@ -2196,7 +2196,7 @@
formatInputTooShort: function (input, min) { return "Please enter " + (min - input.length) + " more characters"; }, formatInputTooShort: function (input, min) { return "Please enter " + (min - input.length) + " more characters"; },
formatSelectionTooBig: function (limit) { return "You can only select " + limit + " items"; }, formatSelectionTooBig: function (limit) { return "You can only select " + limit + " items"; },
formatLoadMore: function (pageNumber) { return "Loading more results..."; }, formatLoadMore: function (pageNumber) { return "Loading more results..."; },
formatSearch: function () { return "Searching..."; }, formatSearching: function () { return "Searching..."; },
minimumResultsForSearch: 0, minimumResultsForSearch: 0,
minimumInputLength: 0, minimumInputLength: 0,
maximumSelectionSize: 0, maximumSelectionSize: 0,