dont select results if opening video at position, fixes #1900

This commit is contained in:
j 2014-02-18 07:52:21 +00:00
commit f3cf407d0b
2 changed files with 8 additions and 0 deletions

View file

@ -147,6 +147,12 @@ pandora.UI = (function() {
// add default video points
add['videoPoints.' + item] = {annotation: '', 'in': 0, out: 0, position: 0};
}
if (
args['videoPoints.' + item]
&& (!pandora.user.ui.item || pandora.user.ui.itemView != 'editor')
) {
pandora._dontSelectResult = true;
}
}
if (['timeline', 'player', 'editor'].indexOf(args.itemView) > -1) {