editor: focus name form field when finished drawing

This commit is contained in:
Laura Klünder 2016-12-08 22:51:24 +01:00
parent b71a07923c
commit 4d5cbad685

View file

@ -463,6 +463,7 @@ editor = {
editor._editing.on('click', editor._click_editing_layer);
editor._update_editing();
$('#mapeditcontrols').find('form.creation-lock').removeClass('creation-lock');
$('#id_name').focus();
}
},
_update_editing: function () {