forked from 0x2620/pandora
fix a typo that would make enabled check marks appear for guests and robots
This commit is contained in:
parent
9b5e11879f
commit
1d6104f387
1 changed files with 1 additions and 2 deletions
|
@ -101,7 +101,7 @@ pandora.ui.usersDialog = function() {
|
|||
padding: '3px',
|
||||
opacity: value || [
|
||||
'guest', 'robot'
|
||||
].indexOf(data.level) > 1 ? 0 : 1
|
||||
].indexOf(data.level) > -1 ? 0 : 1
|
||||
});
|
||||
},
|
||||
id: 'disabled',
|
||||
|
@ -362,7 +362,6 @@ pandora.ui.usersDialog = function() {
|
|||
})
|
||||
.bindEvent({
|
||||
init: function(data) {
|
||||
//Ox.print('DATA::P::', data)
|
||||
numberOfUsers = data.users;
|
||||
$status.html(
|
||||
Ox.formatNumber(data.items)
|
||||
|
|
Loading…
Reference in a new issue