From 5f8fe066b9be824052deeaa438fd083651a41b11 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 8 Sep 2011 08:17:39 +0000 Subject: [PATCH] minor fixes --- static/js/pandora/ui/filterDialog.js | 2 +- static/js/pandora/ui/leftPanel.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/ui/filterDialog.js b/static/js/pandora/ui/filterDialog.js index c2f8a953c..90f1fc020 100644 --- a/static/js/pandora/ui/filterDialog.js +++ b/static/js/pandora/ui/filterDialog.js @@ -30,7 +30,7 @@ pandora.ui.filterDialog = function() { } }) ], - content: pandora.$ui.filter = new pandora.ui.filter().css({padding: '16px'}), + content: pandora.$ui.filter = pandora.ui.filter().css({padding: '16px'}), maxWidth: 648 + Ox.UI.SCROLLBAR_SIZE, minHeight: 264, minWidth: 648 + Ox.UI.SCROLLBAR_SIZE, diff --git a/static/js/pandora/ui/leftPanel.js b/static/js/pandora/ui/leftPanel.js index 395ef1fc4..01d03780c 100644 --- a/static/js/pandora/ui/leftPanel.js +++ b/static/js/pandora/ui/leftPanel.js @@ -24,7 +24,7 @@ pandora.ui.leftPanel = function() { resize: function(event, data) { Ox.print('LEFT PANEL RESIZE') var infoSize = Math.round(data / pandora.user.infoRatio); - pandora.user.ui.sidebarSize = data; + pandora.UI.set('sidebarSize', data); if (data < pandora.site.sectionButtonsWidth && pandora.$ui.sectionButtons) { pandora.$ui.sectionButtons.removeElement(); delete pandora.$ui.sectionButtons;