Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-01-31 15:49:43 +0300
committerBackportbot <backportbot-noreply@rullzer.com>2019-01-31 22:19:31 +0300
commitc3ff11bb087a231b3b5597812f444f3b8235ecf9 (patch)
treec73e849c34774092c28ceabfbb608ee5d3383039 /apps/comments
parent344c41a308c1267c9b6ebdff6a0a67654b784aad (diff)
Show autocompletion as soon as "@" is typed
In order to show the autocompletion it was needed to type at least another character after "@", so only the mentions that matched that character were shown. Now the autocompletion is shown as soon as "@" is typed, which shows all the possible mentions. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/comments')
-rw-r--r--apps/comments/js/commentstabview.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js
index 04b0f292299..f87cf29a7d1 100644
--- a/apps/comments/js/commentstabview.js
+++ b/apps/comments/js/commentstabview.js
@@ -185,9 +185,6 @@
},
_onAutoComplete: function(query, callback) {
- if(_.isEmpty(query)) {
- return;
- }
var s = this;
if(!_.isUndefined(this._autoCompleteRequestTimer)) {
clearTimeout(this._autoCompleteRequestTimer);