summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJulia Kirschenheuter <6078378+JuliaKirschenheuter@users.noreply.github.com>2023-03-27 13:28:49 +0200
committerGitHub <noreply@github.com>2023-03-27 13:28:49 +0200
commit1e85cb135e0094eba8cee23c81e0bc6316ea43fd (patch)
treef983b0217fb874a905677012ab20997b5fdab607 /core
parent7803ba18b39b93f186f5f7c2fbc951f5c2bee1dd (diff)
parentdb0670f0cb1d1bcebfa15bd1f5d4056b5ecaf46c (diff)
downloadnextcloud-server-1e85cb135e0094eba8cee23c81e0bc6316ea43fd.tar.gz
nextcloud-server-1e85cb135e0094eba8cee23c81e0bc6316ea43fd.zip
Merge pull request #37421 from nextcloud/fix/36916-The_list_of_contacts_represents_a_list,_but_it_was_not_marked_as_such
Change contactsmenu structure to a list
Diffstat (limited to 'core')
-rw-r--r--core/src/OC/contactsmenu.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/src/OC/contactsmenu.js b/core/src/OC/contactsmenu.js
index b915a3f160c..c5a9cfcef7a 100644
--- a/core/src/OC/contactsmenu.js
+++ b/core/src/OC/contactsmenu.js
@@ -83,6 +83,9 @@ const ContactsListView = View.extend({
/** @type {array} */
_subViews: [],
+ /** @type {string} */
+ tagName: 'ul',
+
/**
* @param {object} options
* @returns {undefined}
@@ -98,7 +101,6 @@ const ContactsListView = View.extend({
var self = this
self.$el.html('')
self._subViews = []
-
self._collection.forEach(function(contact) {
var item = new ContactsListItemView({
model: contact
@@ -134,6 +136,9 @@ const ContactsListItemView = View.extend({
/** @type {string} */
className: 'contact',
+ /** @type {string} */
+ tagName: 'li',
+
/** @type {undefined|function} */
_template: undefined,