fix a scope issue in info view
This commit is contained in:
parent
029e0e2621
commit
16adecaccd
1 changed files with 3 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue