aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-01-31 13:49:43 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-01-31 13:49:43 +0100
commitd2945a93755520f8cdc869c2a4328e469a8ffd2b (patch)
treec988680d23f269cbfccd6de9397007e963f39b23 /apps/comments
parent61ee72a89d65de50609d4335e21f64f810e98d9a (diff)
downloadnextcloud-server-d2945a93755520f8cdc869c2a4328e469a8ffd2b.tar.gz
nextcloud-server-d2945a93755520f8cdc869c2a4328e469a8ffd2b.zip
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);