forked from 0x2620/pandora
dont update info panel twice
This commit is contained in:
parent
866acda6cb
commit
b1ee22658d
1 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue