mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
[ticket/13713] Fix multiple dropdown issues
PHPBB3-13713
This commit is contained in:
@@ -443,7 +443,7 @@ function getCaretPosition(txtarea) {
|
||||
}
|
||||
|
||||
let cachedKeyword = getCachedKeyword(query),
|
||||
cachedNamesForQuery = (cachedKeyword) ? cachedNames[cachedKeyword] : null;
|
||||
cachedNamesForQuery = (cachedKeyword != null) ? cachedNames[cachedKeyword] : null;
|
||||
|
||||
/*
|
||||
* Use cached values when we can:
|
||||
@@ -465,7 +465,7 @@ function getCaretPosition(txtarea) {
|
||||
$.getJSON(mentionURL, params, function(data) {
|
||||
cachedNames[query] = data.names;
|
||||
cachedAll[query] = data.all;
|
||||
callback(data);
|
||||
callback(data.names);
|
||||
}).always(function() {
|
||||
queryInProgress = null;
|
||||
});
|
||||
|
Reference in New Issue
Block a user