forked from 0x2620/oxjs
update video editor (editables)
This commit is contained in:
parent
43cfc1f0b5
commit
408ebf54cb
7 changed files with 55 additions and 51 deletions
|
|
@ -32,7 +32,11 @@ Ox.ArrayEditable = function(options, self) {
|
|||
doubleclick: doubleclick,
|
||||
key_delete: deleteItem,
|
||||
key_enter: function() {
|
||||
that.editItem();
|
||||
// make sure the newline does
|
||||
// not end up in the textarea
|
||||
setTimeout(function() {
|
||||
that.editItem();
|
||||
}, 0);
|
||||
},
|
||||
key_escape: selectNone,
|
||||
key_down: self.options.type == 'input' ? selectLast : selectNext,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue