Merge pull request #8706 from hupfis/master

Fix ajax-field 'quietMillis' to 'delay'.
This commit is contained in:
Masahiro Wakame
2016-03-26 23:11:04 +09:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ $("#e7").select2({
ajax: {
url: "http://api.rottentomatoes.com/api/public/v1.0/movies.json",
dataType: 'jsonp',
quietMillis: 100,
delay: 100,
data: function (term, page) {
return {
q: term,
+1 -1
View File
@@ -25,7 +25,7 @@ interface Select2AjaxOptions {
*/
url?: any;
dataType?: string;
quietMillis?: number;
delay?: number;
cache?: boolean;
data?: (term: string, page: number, context: any) => any;
results?: (term: any, page: number, context: any) => any;