comments
This commit is contained in:
parent
7daf7f09bc
commit
9a0fadfc91
@ -63,6 +63,7 @@ List - abstract class for inputs that have source option loaded from js array or
|
|||||||
if ($.isFunction(this.options.source)) {
|
if ($.isFunction(this.options.source)) {
|
||||||
source = this.options.source.call(this.options.scope);
|
source = this.options.source.call(this.options.scope);
|
||||||
this.sourceData = null;
|
this.sourceData = null;
|
||||||
|
//note: if function returns the same source as URL - sourceData will be taken from cahce and no extra request performed
|
||||||
} else {
|
} else {
|
||||||
source = this.options.source;
|
source = this.options.source;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user