fix a scope issue in info view

This commit is contained in:
rolux 2011-11-05 17:26:03 +00:00
parent 029e0e2621
commit 16adecaccd

View file

@ -132,6 +132,8 @@ pandora.ui.infoView = function(data) {
}) })
.appendTo($data.$element), .appendTo($data.$element),
$capabilities,
$browserImages = []; $browserImages = [];
pandora.createLinks($text); pandora.createLinks($text);
@ -761,8 +763,7 @@ pandora.ui.infoView = function(data) {
} }
function renderRightsLevel() { function renderRightsLevel() {
var $capabilities, var $rightsLevelElement = getRightsLevelElement(data.rightslevel),
$rightsLevelElement = getRightsLevelElement(data.rightslevel),
$rightsLevelSelect; $rightsLevelSelect;
$rightsLevel.empty(); $rightsLevel.empty();
if (canEdit) { if (canEdit) {