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',
|
padding: '3px',
|
||||||
opacity: value || [
|
opacity: value || [
|
||||||
'guest', 'robot'
|
'guest', 'robot'
|
||||||
].indexOf(data.level) > 1 ? 0 : 1
|
].indexOf(data.level) > -1 ? 0 : 1
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
id: 'disabled',
|
id: 'disabled',
|
||||||
|
@ -362,7 +362,6 @@ pandora.ui.usersDialog = function() {
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
init: function(data) {
|
init: function(data) {
|
||||||
//Ox.print('DATA::P::', data)
|
|
||||||
numberOfUsers = data.users;
|
numberOfUsers = data.users;
|
||||||
$status.html(
|
$status.html(
|
||||||
Ox.formatNumber(data.items)
|
Ox.formatNumber(data.items)
|
||||||
|
|
Loading…
Reference in a new issue