Focus property input when adding qualifiers and references, closes #1777
This commit is contained in:
parent
3fb282852d
commit
90ac54ff86
@ -643,6 +643,8 @@ SchemaAlignmentDialog._addQualifier = function(container, json) {
|
|||||||
SchemaAlignmentDialog._initPropertyField(inputContainer, statementContainer, property);
|
SchemaAlignmentDialog._initPropertyField(inputContainer, statementContainer, property);
|
||||||
if (value && property) {
|
if (value && property) {
|
||||||
SchemaAlignmentDialog._addStatement(statementContainer, property.datatype, {value:value});
|
SchemaAlignmentDialog._addStatement(statementContainer, property.datatype, {value:value});
|
||||||
|
} else {
|
||||||
|
inputContainer.find('input').focus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user