Merge pull request #1786 from OpenRefine/issue1777
Focus property input when adding qualifiers and references
This commit is contained in:
commit
e939228fc7
@ -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