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(),
|
||||
previousView = view;
|
||||
view = getView();
|
||||
if (view == 'list' || view == 'text') {
|
||||
if (view == 'list' || view == 'edit' || view == 'text') {
|
||||
emptyInfo();
|
||||
that.append(pandora.$ui.listInfo = pandora.ui.listInfo());
|
||||
previousView == 'video' && resizeInfo();
|
||||
|
@ -151,7 +151,7 @@ pandora.ui.info = function() {
|
|||
|
||||
that.resizeInfo = function() {
|
||||
var view = getView();
|
||||
if (view == 'list' || view == 'text') {
|
||||
if (view == 'list' || view == 'edit' || view == 'text') {
|
||||
pandora.$ui.listInfo.resizeInfo();
|
||||
} else if (view == 'poster') {
|
||||
pandora.$ui.posterInfo.resizeInfo();
|
||||
|
|
Loading…
Reference in a new issue