forked from 0x2620/pandora
add 'OxMedia' class to grid, info lists, clip list and browser
This commit is contained in:
parent
f330a6becb
commit
8b92595d1d
3 changed files with 5 additions and 1 deletions
|
@ -118,6 +118,7 @@ pandora.ui.browser = function() {
|
||||||
? pandora.site.user.ui.listSort: pandora.user.ui.listSort,
|
? pandora.site.user.ui.listSort: pandora.user.ui.listSort,
|
||||||
unique: 'id'
|
unique: 'id'
|
||||||
})
|
})
|
||||||
|
.addClass('OxMedia')
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
open: function() {
|
open: function() {
|
||||||
that.scrollToSelection();
|
that.scrollToSelection();
|
||||||
|
|
|
@ -109,6 +109,7 @@ pandora.ui.clipList = function(videoRatio) {
|
||||||
sort: !ui.item ? ui.listSort : ui.itemSort,
|
sort: !ui.item ? ui.listSort : ui.itemSort,
|
||||||
unique: 'id'
|
unique: 'id'
|
||||||
})
|
})
|
||||||
|
.addClass('OxMedia')
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
init: function(data) {
|
init: function(data) {
|
||||||
if (!ui.item && ui.listView == 'clip'/* && pandora.$ui.statusbar*/) {
|
if (!ui.item && ui.listView == 'clip'/* && pandora.$ui.statusbar*/) {
|
||||||
|
|
|
@ -166,7 +166,8 @@ pandora.ui.list = function() {
|
||||||
size: 128,
|
size: 128,
|
||||||
sort: pandora.user.ui.listSort,
|
sort: pandora.user.ui.listSort,
|
||||||
unique: 'id'
|
unique: 'id'
|
||||||
});
|
})
|
||||||
|
.addClass('OxMedia');
|
||||||
} else if (view == 'info') {
|
} else if (view == 'info') {
|
||||||
that = Ox.Element().css({margin: '16px'}).html(view + ' results view still missing.');
|
that = Ox.Element().css({margin: '16px'}).html(view + ' results view still missing.');
|
||||||
} else if (view == 'clips') {
|
} else if (view == 'clips') {
|
||||||
|
@ -239,6 +240,7 @@ pandora.ui.list = function() {
|
||||||
- pandora.user.ui.showSidebar * pandora.user.ui.sidebarSize - 1
|
- pandora.user.ui.showSidebar * pandora.user.ui.sidebarSize - 1
|
||||||
- Ox.UI.SCROLLBAR_SIZE
|
- Ox.UI.SCROLLBAR_SIZE
|
||||||
})
|
})
|
||||||
|
.addClass('OxMedia')
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
key_left: function() {
|
key_left: function() {
|
||||||
// ...
|
// ...
|
||||||
|
|
Loading…
Reference in a new issue