fix focus link editor

This commit is contained in:
Mariela Michalek 2015-05-31 11:12:27 -03:00
parent c6c825fedc
commit 0633bb589e

View File

@ -63,6 +63,9 @@ mindplot.widget.LinkEditor = new Class(/** @lends LinkEditor */{
'autofocus': 'autofocus',
'class': 'form-control'
});
input.on("keypress", function(event) {
event.stopPropagation();
});
if (model.getValue() != null){
input.val(model.getValue());