dont update info panel twice

This commit is contained in:
rolux 2012-06-30 16:15:08 +00:00
parent 866acda6cb
commit b1ee22658d

View file

@ -2,9 +2,10 @@
'use strict'; 'use strict';
pandora.ui.list = function() { pandora.ui.list = function() {
var that,
view = pandora.user.ui.listView, var preview = false,
preview = false; that,
view = pandora.user.ui.listView;
if (view == 'list') { if (view == 'list') {
that = Ox.TableList({ that = Ox.TableList({
@ -508,7 +509,6 @@ pandora.ui.list = function() {
pandora.$ui.mainMenu.disableItem('copy'); pandora.$ui.mainMenu.disableItem('copy');
pandora.$ui.mainMenu.disableItem('openmovie'); pandora.$ui.mainMenu.disableItem('openmovie');
} }
pandora.$ui.leftPanel.replaceElement(2, pandora.$ui.info = pandora.ui.info());
if (data.ids.length == 0) { if (data.ids.length == 0) {
pandora.$ui.statusbar.set('selected', {items: 0}); pandora.$ui.statusbar.set('selected', {items: 0});
} else { } else {