another global var
This commit is contained in:
parent
5929e34dc8
commit
cfe7282a24
2 changed files with 29 additions and 26 deletions
|
@ -270,8 +270,7 @@ pandora.ui.folders = function() {
|
|||
}).bindEvent({
|
||||
click: function() {
|
||||
var $dialog = Ox.Dialog({
|
||||
buttons: Ox.merge(
|
||||
title != 'Featured Lists' ? [
|
||||
buttons: title != 'Featured Lists' ? [
|
||||
Ox.Button({title: 'Sign Up...'}).bindEvent({
|
||||
click: function() {
|
||||
$dialog.close();
|
||||
|
@ -284,16 +283,19 @@ pandora.ui.folders = function() {
|
|||
pandora.$ui.accountDialog = pandora.ui.accountDialog('signin').open();
|
||||
}
|
||||
}),
|
||||
{}
|
||||
] : [],
|
||||
[
|
||||
{},
|
||||
Ox.Button({title: 'Not Now'}).bindEvent({
|
||||
click: function() {
|
||||
$dialog.close();
|
||||
}
|
||||
})
|
||||
] : [
|
||||
Ox.Button({title: 'Close'}).bindEvent({
|
||||
click: function() {
|
||||
$dialog.close();
|
||||
}
|
||||
})
|
||||
]
|
||||
),
|
||||
],
|
||||
content: Ox.Element()
|
||||
.append(
|
||||
$('<img>')
|
||||
|
|
|
@ -20,11 +20,12 @@ pandora.ui.rightPanel = function() {
|
|||
})
|
||||
.bindEvent({
|
||||
resize: function(data) {
|
||||
var clipsItems, previousClipsItems;
|
||||
if (!pandora.user.ui.item) {
|
||||
pandora.resizeFilters();
|
||||
pandora.$ui.list.size();
|
||||
if (pandora.user.ui.listView == 'clips') {
|
||||
var clipsItems = pandora.getClipsItems();
|
||||
clipsItems = pandora.getClipsItems();
|
||||
previousClipsItems = pandora.getClipsItems(pandora.$ui.list.options('width'));
|
||||
pandora.$ui.list.options({width: data.size});
|
||||
if (clipsItems != previousClipsItems) {
|
||||
|
|
Loading…
Reference in a new issue