From db0670f0cb1d1bcebfa15bd1f5d4056b5ecaf46c Mon Sep 17 00:00:00 2001 From: "julia.kirschenheuter" Date: Fri, 24 Mar 2023 15:56:52 +0100 Subject: Change contactsmenu structure to a list Signed-off-by: julia.kirschenheuter --- core/src/OC/contactsmenu.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'core/src') 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, -- cgit v1.2.3