fix focus link editor
parent
d15a97ef02
commit
f414e94fe5
|
@ -63,6 +63,9 @@ mindplot.widget.LinkEditor = new Class(/** @lends LinkEditor */{
|
||||||
'autofocus': 'autofocus',
|
'autofocus': 'autofocus',
|
||||||
'class': 'form-control'
|
'class': 'form-control'
|
||||||
});
|
});
|
||||||
|
input.on("keypress", function(event) {
|
||||||
|
event.stopPropagation();
|
||||||
|
});
|
||||||
|
|
||||||
if (model.getValue() != null){
|
if (model.getValue() != null){
|
||||||
input.val(model.getValue());
|
input.val(model.getValue());
|
||||||
|
|
Loading…
Reference in New Issue