projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
misc
/
autocomplete.js
diff --git
a/web/core/misc/autocomplete.js
b/web/core/misc/autocomplete.js
index aa3311d08d3d37d185a204abf0a1499538a1f4e5..52ddfd2ab4825329cc5fbcc77e30d0c4df924bfb 100644
(file)
--- a/
web/core/misc/autocomplete.js
+++ b/
web/core/misc/autocomplete.js
@@
-73,14
+73,14
@@
response(suggestions);
}
response(suggestions);
}
+ var term = autocomplete.extractLastTerm(request.term);
+
function sourceCallbackHandler(data) {
autocomplete.cache[elementId][term] = data;
showSuggestions(data);
}
function sourceCallbackHandler(data) {
autocomplete.cache[elementId][term] = data;
showSuggestions(data);
}
- var term = autocomplete.extractLastTerm(request.term);
-
if (autocomplete.cache[elementId].hasOwnProperty(term)) {
showSuggestions(autocomplete.cache[elementId][term]);
} else {
if (autocomplete.cache[elementId].hasOwnProperty(term)) {
showSuggestions(autocomplete.cache[elementId][term]);
} else {