Merge pull request #1786 from OpenRefine/issue1777

Focus property input when adding qualifiers and references
This commit is contained in:
Antonin Delpeuch 2018-11-01 12:04:20 +00:00 committed by GitHub
commit e939228fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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