updating map/calendar item views
This commit is contained in:
parent
ae28b99ae8
commit
908e468f46
6 changed files with 47 additions and 26 deletions
|
|
@ -48,13 +48,12 @@ pandora.ui.rightPanel = function() {
|
|||
pandora.$ui.player.options({width: data.size});
|
||||
} else if (pandora.user.ui.itemView == 'timeline') {
|
||||
pandora.$ui.editor.options({width: data.size});
|
||||
} else if (pandora.user.ui.listView == 'map') {
|
||||
pandora.$ui.map.resizeMap();
|
||||
} else if (pandora.user.ui.listView == 'calendar') {
|
||||
pandora.$ui.calendar.resizeCalendar();
|
||||
}
|
||||
}
|
||||
},
|
||||
pandora_itemview: function(data) {
|
||||
if (pandora.isClipView() != pandora.isClipView(data.previousValue)) {
|
||||
that.replaceElement(0, pandora.$ui.toolbar = pandora.ui.toolbar());
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue