From b1ee22658d4746a7b5322381f2e253a91b3e154e Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 30 Jun 2012 16:15:08 +0000 Subject: [PATCH] dont update info panel twice --- static/js/pandora/list.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/js/pandora/list.js b/static/js/pandora/list.js index cbfb2fda..b5b7c931 100644 --- a/static/js/pandora/list.js +++ b/static/js/pandora/list.js @@ -2,9 +2,10 @@ 'use strict'; pandora.ui.list = function() { - var that, - view = pandora.user.ui.listView, - preview = false; + + var preview = false, + that, + view = pandora.user.ui.listView; if (view == 'list') { that = Ox.TableList({ @@ -508,7 +509,6 @@ pandora.ui.list = function() { pandora.$ui.mainMenu.disableItem('copy'); pandora.$ui.mainMenu.disableItem('openmovie'); } - pandora.$ui.leftPanel.replaceElement(2, pandora.$ui.info = pandora.ui.info()); if (data.ids.length == 0) { pandora.$ui.statusbar.set('selected', {items: 0}); } else {