main menu: don't disable clip copy/paste on annotation select

This commit is contained in:
rolux 2013-08-06 10:48:08 +00:00
parent 74f3d190f2
commit 2a1533f55f

View file

@ -728,9 +728,12 @@ pandora.ui.mainMenu = function() {
that.setItemTitle('showtimeline', Ox._((data.value ? 'Hide' : 'Show') + ' Timeline'));
},
pandora_videopoints: function(data) {
var action = data.value['in'] != data.value.out ? 'enableItem' : 'disableItem';
var action;
if (data.value['in']) {
action = data.value['in'] != data.value.out ? 'enableItem' : 'disableItem';
that[action]('copy');
that[action]('copyadd');
}
},
pandora_videotimeline: function(data) {
that.checkItem('viewMenu_timelines_' + data.value);