make video position stick when switching between player and timeline view (part 4)

This commit is contained in:
rolux 2011-01-18 17:00:10 +00:00
parent 014d2638dc
commit 51c8877c37

View file

@ -3566,7 +3566,7 @@ var pandora = new Ox.App({
} else {
if (['player', 'timeline'].indexOf(old.user.ui.itemView) > -1) {
UI.set(
'videoPosition|' + app.user.ui.item,
'videoPosition|' + old.user.ui.item,
app.$ui[old.user.ui.itemView == 'player' ? 'player' : 'editor'].options('position')
);
}