no find-in-annotation-layer option in edits

This commit is contained in:
rolux 2018-10-09 20:06:14 +02:00
parent 5b9afde7b3
commit 9b3c7ddf20
2 changed files with 6 additions and 2 deletions

View file

@ -61,6 +61,7 @@ Ox.AnnotationPanel = function(options, self) {
selected: '',
separator: ';',
showCalendar: false,
showFind: false,
showLayers: {},
showMap: false,
showUsers: false,
@ -490,7 +491,9 @@ Ox.AnnotationPanel = function(options, self) {
{id: 'duration', title: Ox._('By Duration'), checked: self.options.sort == 'duration'},
{id: 'text', title: Ox._('By Text'), checked: self.options.sort == 'text'},
{id: 'created', title: Ox._('By Creation Time'), checked: self.options.sort == 'created'}
]},
]}
],
self.options.showFind ? [
{},
{id: 'results', title: Ox._('Find Annotations'), disabled: true},
{group: 'results', max: 1, items: [
@ -506,7 +509,7 @@ Ox.AnnotationPanel = function(options, self) {
checked: result.id == self.options.highlightLayer
};
}))}
],
] : [],
self.options.editable ? [
{},
{id: 'highlightannotations', title: Ox._('Highlight Annotations'), disabled: true},

View file

@ -854,6 +854,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
selected: self.options.selected,
separator: self.options.annotationsSeparator,
showCalendar: self.options.showAnnotationsCalendar,
showFind: true,
showLayers: Ox.clone(self.options.showLayers),
showMap: self.options.showAnnotationsMap,
showUsers: self.options.showUsers,