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', 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)