From 15be34955e02ad748ec5b31dfb08b5b620b8c826 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 9 Jul 2013 14:36:11 +0000 Subject: [PATCH] use Ox.getVideoFormat instead of Ox.UI.getVideoFormat --- static/js/embed/pandora.js | 2 +- static/js/pandora.js | 2 +- static/js/pandora/utils.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/embed/pandora.js b/static/js/embed/pandora.js index 373ce95a..76c95f87 100755 --- a/static/js/embed/pandora.js +++ b/static/js/embed/pandora.js @@ -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) { diff --git a/static/js/pandora.js b/static/js/pandora.js index adeca6fe..37c83c5a 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -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 diff --git a/static/js/pandora/utils.js b/static/js/pandora/utils.js index 78c65396..d06a411b 100644 --- a/static/js/pandora/utils.js +++ b/static/js/pandora/utils.js @@ -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);