From 51310ab89c3eebb6521a2f7f28655c2f1cc35044 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 7 Aug 2011 22:21:38 +0000 Subject: [PATCH] in info view, also update image list when it's hidden --- static/js/pandora/ui/infoView.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/js/pandora/ui/infoView.js b/static/js/pandora/ui/infoView.js index 27f696c8c..6e9a164bd 100644 --- a/static/js/pandora/ui/infoView.js +++ b/static/js/pandora/ui/infoView.js @@ -455,7 +455,6 @@ pandora.ui.infoView = function(data) { .appendTo($info); }); - return ; } function toggleIconSize() { @@ -498,7 +497,7 @@ pandora.ui.infoView = function(data) { iconRatio = pandora.user.ui.icons == 'posters' ? data.poster.width / data.poster.height : 1, toggleIconSize(); - edit && $list.replaceWith($list = renderList()); + pandora.user.level == 'admin' && $list.replaceWith($list = renderList()); }; that.resize = function() {