add VideoAnnotationPanel options.selectResult
This commit is contained in:
parent
978cc88618
commit
3cd6399fff
1 changed files with 2 additions and 1 deletions
|
@ -78,6 +78,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
|||
posterFrame: 0,
|
||||
resolution: 0,
|
||||
selected: '',
|
||||
selectResult: false,
|
||||
showAnnotations: false,
|
||||
showAnnotationsCalendar: false,
|
||||
showAnnotationsMap: false,
|
||||
|
@ -883,7 +884,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
|||
|
||||
// we need a timeout so that a chained bindEvent
|
||||
// actually catches the event
|
||||
self.options.find && setTimeout(function() {
|
||||
self.options.find && self.options.selectResult && setTimeout(function() {
|
||||
// only submit if no annotation is selected
|
||||
submitFindInput(self.options.find, !self.options.selected);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue