editor view: fix invalid entity inputs; fix keyboard focus
This commit is contained in:
parent
8a58849a22
commit
4134badf9d
4 changed files with 27 additions and 16 deletions
|
|
@ -406,7 +406,8 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
layer.type == 'event' ? 'calendar' : 'map'
|
||||
), data);
|
||||
}
|
||||
});
|
||||
})
|
||||
.appendTo(self.$folders);
|
||||
[
|
||||
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
|
||||
'b', 'backslash', 'closebracket', 'comma', 'dot',
|
||||
|
|
@ -415,12 +416,11 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
'shift_g', 'shift_i', 'shift_minus', 'shift_o',
|
||||
'slash', 'space'
|
||||
].forEach(function(key) {
|
||||
key = 'key_' + key;
|
||||
key = 'key.' + key;
|
||||
self.$folder[index].bindEvent(key, function() {
|
||||
that.triggerEvent(key);
|
||||
});
|
||||
});
|
||||
self.$folder[index].appendTo(self.$folders);
|
||||
}
|
||||
|
||||
function renderFolders() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue