Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/diffusion/DiffusionLocateFileSource.js
Show All 17 Lines | JX.install('DiffusionLocateFileSource', { | ||||
members: { | members: { | ||||
tree: null, | tree: null, | ||||
limit: 20, | limit: 20, | ||||
cache: null, | cache: null, | ||||
ondata: function(results) { | ondata: function(results) { | ||||
this.tree = results.tree; | this.tree = results.tree; | ||||
if (this.lastValue !== null) { | |||||
this.matchResults(this.lastValue); | |||||
} | |||||
this.setReady(true); | this.setReady(true); | ||||
}, | }, | ||||
/** | /** | ||||
* Match a query and show results in the typeahead. | * Match a query and show results in the typeahead. | ||||
*/ | */ | ||||
matchResults: function(value, partial) { | matchResults: function(value, partial) { | ||||
▲ Show 20 Lines • Show All 255 Lines • Show Last 20 Lines |