forked from 0x2620/oxjs
add InsertHTMLDialog to VideoEditor
This commit is contained in:
parent
658fca3c76
commit
4dd2c5706d
7 changed files with 249 additions and 8 deletions
|
|
@ -191,7 +191,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
self.results = [];
|
||||
self.words = getWords();
|
||||
|
||||
Ox.print('VIDEO EDITOR OPTIONS', self.options)
|
||||
//Ox.print('VIDEO EDITOR OPTIONS', self.options)
|
||||
|
||||
self.$editor = Ox.Element()
|
||||
.addClass('OxVideoEditor')
|
||||
|
|
@ -606,9 +606,13 @@ Ox.VideoEditor = function(options, self) {
|
|||
},
|
||||
blur: function(data) {
|
||||
Ox.print('VIDEO EDITOR BLUR')
|
||||
// Only blur if neither the video editor
|
||||
// nor an active menu layer received the click
|
||||
if (!self.focused && !$('.OxMenuLayer').length) {
|
||||
// Only blur if the video editor did not receive the click,
|
||||
// no dialog is open, and no menu was visible
|
||||
if (
|
||||
!self.focused
|
||||
&& !$('.OxDialogLayer').length
|
||||
&& !$('.OxMenuLayer').length
|
||||
) {
|
||||
blurAnnotation();
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue