fix a typo that would make enabled check marks appear for guests and robots

This commit is contained in:
rolux 2012-04-19 09:18:16 +00:00
parent 9b5e11879f
commit 1d6104f387

View file

@ -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)