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

This commit is contained in:
rlx 2011-01-18 17:00:10 +00:00
parent ae376c5d21
commit 5eff86e6a4

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')
);
}