fix #2186 (info panel is empty for edits)
This commit is contained in:
parent
e3bf14dab8
commit
8c69862193
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ pandora.ui.info = function() {
|
||||||
var id = getId(),
|
var id = getId(),
|
||||||
previousView = view;
|
previousView = view;
|
||||||
view = getView();
|
view = getView();
|
||||||
if (view == 'list' || view == 'text') {
|
if (view == 'list' || view == 'edit' || view == 'text') {
|
||||||
emptyInfo();
|
emptyInfo();
|
||||||
that.append(pandora.$ui.listInfo = pandora.ui.listInfo());
|
that.append(pandora.$ui.listInfo = pandora.ui.listInfo());
|
||||||
previousView == 'video' && resizeInfo();
|
previousView == 'video' && resizeInfo();
|
||||||
|
@ -151,7 +151,7 @@ pandora.ui.info = function() {
|
||||||
|
|
||||||
that.resizeInfo = function() {
|
that.resizeInfo = function() {
|
||||||
var view = getView();
|
var view = getView();
|
||||||
if (view == 'list' || view == 'text') {
|
if (view == 'list' || view == 'edit' || view == 'text') {
|
||||||
pandora.$ui.listInfo.resizeInfo();
|
pandora.$ui.listInfo.resizeInfo();
|
||||||
} else if (view == 'poster') {
|
} else if (view == 'poster') {
|
||||||
pandora.$ui.posterInfo.resizeInfo();
|
pandora.$ui.posterInfo.resizeInfo();
|
||||||
|
|
Loading…
Reference in a new issue