1
0
Fork 0
forked from 0x2620/oxjs

various focus/selection fixes

This commit is contained in:
j 2012-01-27 23:58:44 +05:30
commit ed4f7f0c2d
4 changed files with 15 additions and 9 deletions

View file

@ -210,7 +210,6 @@ Ox.VideoEditor = function(options, self) {
// the following is needed to determine
// how to handle annotation input blur
if (self.editing) {
Ox.print('FOCUSED')
self.focused = true;
setTimeout(function() {
// annotation folder will gain focus on blur
@ -397,7 +396,7 @@ Ox.VideoEditor = function(options, self) {
{key: 'S', action: 'Select Current Annotation'},
{key: 'E', action: 'Edit Selected Annotation'},
{key: Ox.UI.symbols['return'], action: 'Submit'},
{key: Ox.UI.symbols.escape, action: 'Cancel'},
{key: Ox.UI.symbols.escape, action: 'Cancel'}
].forEach(function(shortcut) {
self.$keyboardShortcuts.append(
$('<div>').css({display: 'table-row'})