catch global vars

This commit is contained in:
rolux 2011-11-06 12:35:06 +00:00
parent d3f5acbb13
commit de52b3966d

View file

@ -123,7 +123,7 @@ pandora.ui.listGeneralPanel = function(listData) {
$icon = $('<img>') $icon = $('<img>')
.attr({src: '/list/' + listData.id + '/icon256.jpg?' + Ox.uid()}) .attr({src: '/list/' + listData.id + '/icon256.jpg?' + Ox.uid()})
.css({position: 'absolute', left: '16px', top: '16px', width: '128px', height: '128px', borderRadius: '32px'}) .css({position: 'absolute', left: '16px', top: '16px', width: '128px', height: '128px', borderRadius: '32px'})
.appendTo(that); .appendTo(that),
$nameInput = Ox.Input({ $nameInput = Ox.Input({
label: 'Name', label: 'Name',
labelWidth: 80, labelWidth: 80,
@ -131,7 +131,7 @@ pandora.ui.listGeneralPanel = function(listData) {
width: 320 width: 320
}) })
.css({position: 'absolute', left: '160px', top: '16px'}) .css({position: 'absolute', left: '160px', top: '16px'})
.appendTo(that); .appendTo(that),
$itemsInput = Ox.Input({ $itemsInput = Ox.Input({
disabled: true, disabled: true,
label: 'Items', label: 'Items',
@ -140,7 +140,7 @@ pandora.ui.listGeneralPanel = function(listData) {
width: 320 width: 320
}) })
.css({position: 'absolute', left: '160px', top: '40px'}) .css({position: 'absolute', left: '160px', top: '40px'})
.appendTo(that); .appendTo(that),
$statusSelect = Ox.Select({ $statusSelect = Ox.Select({
items: [ items: [
{id: 'private', title: 'Private', selected: listData.status == 'private'}, {id: 'private', title: 'Private', selected: listData.status == 'private'},
@ -152,7 +152,7 @@ pandora.ui.listGeneralPanel = function(listData) {
width: 320 width: 320
}) })
.css({position: 'absolute', left: '160px', top: '64px'}) .css({position: 'absolute', left: '160px', top: '64px'})
.appendTo(that); .appendTo(that),
$subscribersInput = Ox.Input({ $subscribersInput = Ox.Input({
disabled: true, disabled: true,
label: 'Subscribers', label: 'Subscribers',