add 'OxMedia' class to grid, info lists, clip list and browser

This commit is contained in:
rolux 2012-12-29 17:40:02 +01:00
parent f330a6becb
commit 8b92595d1d
3 changed files with 5 additions and 1 deletions

View file

@ -118,6 +118,7 @@ pandora.ui.browser = function() {
? pandora.site.user.ui.listSort: pandora.user.ui.listSort,
unique: 'id'
})
.addClass('OxMedia')
.bindEvent({
open: function() {
that.scrollToSelection();

View file

@ -109,6 +109,7 @@ pandora.ui.clipList = function(videoRatio) {
sort: !ui.item ? ui.listSort : ui.itemSort,
unique: 'id'
})
.addClass('OxMedia')
.bindEvent({
init: function(data) {
if (!ui.item && ui.listView == 'clip'/* && pandora.$ui.statusbar*/) {

View file

@ -166,7 +166,8 @@ pandora.ui.list = function() {
size: 128,
sort: pandora.user.ui.listSort,
unique: 'id'
});
})
.addClass('OxMedia');
} else if (view == 'info') {
that = Ox.Element().css({margin: '16px'}).html(view + ' results view still missing.');
} else if (view == 'clips') {
@ -239,6 +240,7 @@ pandora.ui.list = function() {
- pandora.user.ui.showSidebar * pandora.user.ui.sidebarSize - 1
- Ox.UI.SCROLLBAR_SIZE
})
.addClass('OxMedia')
.bindEvent({
key_left: function() {
// ...