use Ox.getVideoFormat instead of Ox.UI.getVideoFormat

This commit is contained in:
j 2013-07-09 14:36:11 +00:00
parent 6f1ef4cffd
commit 15be34955e
3 changed files with 3 additions and 3 deletions

View file

@ -173,7 +173,7 @@ Ox.load('UI', {
}
}
Ox.extend(pandora.user, {
videoFormat: Ox.UI.getVideoFormat(pandora.site.video.formats)
videoFormat: Ox.getVideoFormat(pandora.site.video.formats)
});
var options = parseQuery();
if (['video', 'player'].indexOf(options.view) > -1) {

View file

@ -315,7 +315,7 @@ appPanel
Ox.extend(pandora.user, {
sectionElement: 'buttons',
videoFormat: Ox.UI.getVideoFormat(pandora.site.video.formats)
videoFormat: Ox.getVideoFormat(pandora.site.video.formats)
});
// set locale and initialize url controller

View file

@ -1266,7 +1266,7 @@ pandora.signin = function(data) {
// fixme: this is still voodoo
pandora.user = Ox.extend(data.user, {
sectionElement: 'buttons',
videoFormat: Ox.UI.getVideoFormat(pandora.site.video.formats)
videoFormat: Ox.getVideoFormat(pandora.site.video.formats)
});
pandora.user.ui._list = pandora.getListState(pandora.user.ui.find);
pandora.user.ui._filterState = pandora.getFilterState(pandora.user.ui.find);