don't render groups
This commit is contained in:
parent
09706ab023
commit
3873c6a416
1 changed files with 2 additions and 1 deletions
|
|
@ -515,7 +515,8 @@ pandora.ui.documentInfoView = function(data, isMixed) {
|
||||||
}
|
}
|
||||||
// User and Groups ---------------------------------------------------------
|
// User and Groups ---------------------------------------------------------
|
||||||
if (!isMultiple && pandora.hasCapability('canManageUsers', pandora.user.level)) {
|
if (!isMultiple && pandora.hasCapability('canManageUsers', pandora.user.level)) {
|
||||||
['user', 'groups'].forEach(function(key) {
|
//['user', 'groups'].forEach(function(key) {
|
||||||
|
['user'].forEach(function(key) {
|
||||||
var $input;
|
var $input;
|
||||||
(canEdit || data[key] && data[key].length) && $('<div>')
|
(canEdit || data[key] && data[key].length) && $('<div>')
|
||||||
.css({marginBottom: '4px'})
|
.css({marginBottom: '4px'})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue