diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-01-31 13:49:43 +0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-01-31 19:19:31 +0000 |
commit | c3ff11bb087a231b3b5597812f444f3b8235ecf9 (patch) | |
tree | c73e849c34774092c28ceabfbb608ee5d3383039 /apps | |
parent | 344c41a308c1267c9b6ebdff6a0a67654b784aad (diff) | |
download | nextcloud-server-c3ff11bb087a231b3b5597812f444f3b8235ecf9.tar.gz nextcloud-server-c3ff11bb087a231b3b5597812f444f3b8235ecf9.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')
-rw-r--r-- | apps/comments/js/commentstabview.js | 3 |
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); |