fix #1000
This commit is contained in:
parent
3acecf1b9d
commit
814e8b5bed
@ -1321,7 +1321,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
|
||||
self.opts.populateResults.call(this, results, data.results, {term: term, page: page, context:context});
|
||||
self.postprocessResults(data, false, false);
|
||||
|
||||
|
||||
if (data.more===true) {
|
||||
more.detach().appendTo(results).text(self.opts.formatLoadMore(page+1));
|
||||
window.setTimeout(function() { self.loadMoreIfNeeded(); }, 10);
|
||||
@ -2703,7 +2703,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
maximumSelectionSize: 0,
|
||||
id: function (e) { return e.id; },
|
||||
matcher: function(term, text) {
|
||||
return text.toUpperCase().indexOf(term.toUpperCase()) >= 0;
|
||||
return (''+text).toUpperCase().indexOf((''+term).toUpperCase()) >= 0;
|
||||
},
|
||||
separator: ",",
|
||||
tokenSeparators: [],
|
||||
|
Loading…
Reference in New Issue
Block a user