From 019ed05b52474320f9c956bd063e1f8a2f4734a9 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 5 Nov 2011 17:20:40 +0000 Subject: [PATCH] typo --- static/js/pandora/UI.js | 7 ++----- static/js/pandora/infoView.js | 6 +++--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/static/js/pandora/UI.js b/static/js/pandora/UI.js index e764425b6..f3f53a552 100644 --- a/static/js/pandora/UI.js +++ b/static/js/pandora/UI.js @@ -1,7 +1,4 @@ // vim: et:ts=4:sw=4:sts=4:ft=javascript - -'use strict'; - pandora.UI = (function() { var self = {}, that = {}; @@ -31,12 +28,12 @@ pandora.UI = (function() { var add = {}, args, - doNotTriggerEvents, item, list, listSettings = pandora.site.listSettings, set = {}, - trigger = {}; + trigger = {}, + triggerEvents; if (Ox.isObject(arguments[0])) { args = arguments[0]; diff --git a/static/js/pandora/infoView.js b/static/js/pandora/infoView.js index a4ca02372..125298b5a 100644 --- a/static/js/pandora/infoView.js +++ b/static/js/pandora/infoView.js @@ -761,8 +761,8 @@ pandora.ui.infoView = function(data) { } function renderRightsLevel() { - var $capabilites, - $rightsLevelElement = getRightsLevelElement(data.rightslevel), + var $capabilities, + $rightsLevelElement, $rightsLevelSelect; $rightsLevel.empty(); if (canEdit) { @@ -793,7 +793,7 @@ pandora.ui.infoView = function(data) { }) .appendTo($rightsLevel); } else { - $rightsLevelElement + $rightsLevelElement = getRightsLevelElement(data.rightslevel) .css({ marginBottom: '4px' })