This commit is contained in:
rolux 2011-11-05 17:20:40 +00:00
parent e6b49b908e
commit 019ed05b52
2 changed files with 5 additions and 8 deletions

View file

@ -1,7 +1,4 @@
// vim: et:ts=4:sw=4:sts=4:ft=javascript // vim: et:ts=4:sw=4:sts=4:ft=javascript
'use strict';
pandora.UI = (function() { pandora.UI = (function() {
var self = {}, that = {}; var self = {}, that = {};
@ -31,12 +28,12 @@ pandora.UI = (function() {
var add = {}, var add = {},
args, args,
doNotTriggerEvents,
item, item,
list, list,
listSettings = pandora.site.listSettings, listSettings = pandora.site.listSettings,
set = {}, set = {},
trigger = {}; trigger = {},
triggerEvents;
if (Ox.isObject(arguments[0])) { if (Ox.isObject(arguments[0])) {
args = arguments[0]; args = arguments[0];

View file

@ -761,8 +761,8 @@ pandora.ui.infoView = function(data) {
} }
function renderRightsLevel() { function renderRightsLevel() {
var $capabilites, var $capabilities,
$rightsLevelElement = getRightsLevelElement(data.rightslevel), $rightsLevelElement,
$rightsLevelSelect; $rightsLevelSelect;
$rightsLevel.empty(); $rightsLevel.empty();
if (canEdit) { if (canEdit) {
@ -793,7 +793,7 @@ pandora.ui.infoView = function(data) {
}) })
.appendTo($rightsLevel); .appendTo($rightsLevel);
} else { } else {
$rightsLevelElement $rightsLevelElement = getRightsLevelElement(data.rightslevel)
.css({ .css({
marginBottom: '4px' marginBottom: '4px'
}) })