From 16adecaccdd3fb83c92612f32087fcda8a828132 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 5 Nov 2011 17:26:03 +0000 Subject: [PATCH] fix a scope issue in info view --- static/js/pandora/infoView.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/infoView.js b/static/js/pandora/infoView.js index 05b3a568b..a76daae7e 100644 --- a/static/js/pandora/infoView.js +++ b/static/js/pandora/infoView.js @@ -132,6 +132,8 @@ pandora.ui.infoView = function(data) { }) .appendTo($data.$element), + $capabilities, + $browserImages = []; pandora.createLinks($text); @@ -761,8 +763,7 @@ pandora.ui.infoView = function(data) { } function renderRightsLevel() { - var $capabilities, - $rightsLevelElement = getRightsLevelElement(data.rightslevel), + var $rightsLevelElement = getRightsLevelElement(data.rightslevel), $rightsLevelSelect; $rightsLevel.empty(); if (canEdit) {