diff --git a/public/src/forum/admin/categories.js b/public/src/forum/admin/categories.js index a46b92cc11..c2efea477d 100644 --- a/public/src/forum/admin/categories.js +++ b/public/src/forum/admin/categories.js @@ -269,22 +269,21 @@ define(['uploader'], function(uploader) { // User Groups and privileges socket.emit('api:admin.categories.groupsearch', cid, function(err, results) { var groupsFrag = document.createDocumentFragment(), - liEl = document.createElement('li'); + trEl = document.createElement('tr'); var numResults = results.length, resultObj; for(var x=0;x' + + trEl.setAttribute('data-gid', resultObj.gid); + trEl.innerHTML = '

' + resultObj.name + '

' + + '
' + '' + '' + '
' + - '' + - ' '+resultObj.name; + ''; - groupsFrag.appendChild(liEl.cloneNode(true)); + groupsFrag.appendChild(trEl.cloneNode(true)); } groupsResultsEl.html(groupsFrag); diff --git a/public/templates/admin/categories.tpl b/public/templates/admin/categories.tpl index 25018e3f58..927b690220 100644 --- a/public/templates/admin/categories.tpl +++ b/public/templates/admin/categories.tpl @@ -175,12 +175,15 @@ + +
- +
+