fix focus link editor

This commit is contained in:
Mariela Michalek 2015-05-31 11:12:27 -03:00
parent d15a97ef02
commit f414e94fe5

View File

@ -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());