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),
$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) {