merge changes

This commit is contained in:
j 2011-10-23 16:47:05 +02:00
commit aff6d748fb
6 changed files with 323 additions and 129 deletions

View file

@ -79,6 +79,9 @@ pandora.UI = (function() {
var item = args['item'] || pandora.user.ui.item,
list = pandora.user.ui._list || '';
Ox.print('item/list', item, list, '...', args['videoPoints.' + item])
if (!pandora.user.ui.lists[list]) {
add['lists.' + that.encode(list)] = {};
}
Ox.forEach(args, function(val, key) {
if (Object.keys(listSettings).indexOf(key) > -1) {
// if applicable, copy setting to list setting

View file

@ -14,7 +14,7 @@ pandora.ui.appPanel = function() {
});
that.display = function() {
// fixme: move animation into Ox.App
var animate = $('#home').length == 0;
var animate = $('.OxScreen').length == 0;
Ox.print('ANIMATE?', animate)
animate && pandora.$ui.body.css({opacity: 0});
that.appendTo(pandora.$ui.body);

View file

@ -6,7 +6,6 @@ pandora.ui.home = function() {
var that = $('<div>')
.addClass('OxScreen')
.attr({id: 'home'})
.css({
position: 'absolute',
width: '100%',
@ -26,6 +25,7 @@ pandora.ui.home = function() {
margin: 'auto',
opacity: 0,
MozTransform: 'scaleY(-1)',
OTransform: 'scaleY(-1)',
WebkitTransform: 'scaleY(-1)'
})
.appendTo(that),

View file

@ -149,7 +149,7 @@ pandora.ui.item = function() {
// fixme: duplicated
var clipsQuery = pandora.getClipsQuery(),
isClipsQuery = !!clipsQuery.conditions.length;
//
// ...
pandora.$ui.contentPanel.replaceElement(1, pandora.$ui.player = Ox.VideoPanelPlayer({
annotationsSize: pandora.user.ui.annotationsSize,
censored: censored,