fix resize bugs with calendar and item clip list

This commit is contained in:
rolux 2011-10-13 12:59:40 +00:00
parent 126d2e2df0
commit 8416b0deac

View file

@ -177,7 +177,7 @@ Ox.load({
if (pandora.user.ui.listView == 'map') { if (pandora.user.ui.listView == 'map') {
pandora.$ui.map.resizeMap(); pandora.$ui.map.resizeMap();
} else if (pandora.user.ui.listView == 'calendar') { } else if (pandora.user.ui.listView == 'calendar') {
// ... pandora.$ui.calendar.resizeCalendar();
} else { } else {
pandora.$ui.list.size(); pandora.$ui.list.size();
} }
@ -186,6 +186,8 @@ Ox.load({
pandora.$ui.browser.scrollToSelection(); pandora.$ui.browser.scrollToSelection();
if (pandora.user.ui.itemView == 'info') { if (pandora.user.ui.itemView == 'info') {
pandora.$ui.info.resize(); pandora.$ui.info.resize();
} else if (pandora.user.ui.itemView == 'clips') {
pandora.$ui.clips.size();
} else if (pandora.user.ui.itemView == 'video') { } else if (pandora.user.ui.itemView == 'video') {
pandora.$ui.player.options({ pandora.$ui.player.options({
// fixme: duplicated // fixme: duplicated
@ -201,7 +203,7 @@ Ox.load({
} else if (pandora.user.ui.itemView == 'map') { } else if (pandora.user.ui.itemView == 'map') {
pandora.$ui.map.resizeMap(); pandora.$ui.map.resizeMap();
} else if (pandora.user.ui.itemView == 'calendar') { } else if (pandora.user.ui.itemView == 'calendar') {
// ... pandora.$ui.calendar.resizeCalendar();
} }
} }
} }