summaryrefslogtreecommitdiffstats
path: root/apps/comments/js/commentstabview.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/js/commentstabview.js')
-rw-r--r--apps/comments/js/commentstabview.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js
index 9082706e715..e061ed35330 100644
--- a/apps/comments/js/commentstabview.js
+++ b/apps/comments/js/commentstabview.js
@@ -179,6 +179,7 @@
var s = this;
$target.atwho({
at: '@',
+ limit: OC.appConfig.comments.maxAutoCompleteResults,
callbacks: {
remoteFilter: s._onAutoComplete,
highlighter: function (li) {
@@ -237,7 +238,8 @@
search: query,
itemType: 'files',
itemId: s.model.get('id'),
- sorter: 'comments|share-recipients'
+ sorter: 'comments|share-recipients',
+ limit: OC.appConfig.comments.maxAutoCompleteResults
},
function (data) {
callback(data);