From 1d6104f3877a617b96d2aaad233831d947765492 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 19 Apr 2012 09:18:16 +0000 Subject: [PATCH] fix a typo that would make enabled check marks appear for guests and robots --- static/js/pandora/usersDialog.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/js/pandora/usersDialog.js b/static/js/pandora/usersDialog.js index fbc67e105..cf9a0f185 100644 --- a/static/js/pandora/usersDialog.js +++ b/static/js/pandora/usersDialog.js @@ -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)