Focus property input when adding qualifiers and references, closes #1777

This commit is contained in:
Antonin Delpeuch 2018-10-27 21:58:16 +02:00
parent 3fb282852d
commit 90ac54ff86

View File

@ -643,6 +643,8 @@ SchemaAlignmentDialog._addQualifier = function(container, json) {
SchemaAlignmentDialog._initPropertyField(inputContainer, statementContainer, property);
if (value && property) {
SchemaAlignmentDialog._addStatement(statementContainer, property.datatype, {value:value});
} else {
inputContainer.find('input').focus();
}
}