initial focus on attribute type instead of name

This commit is contained in:
azivner
2018-08-18 14:49:25 +02:00
parent 7f9a8a55ca
commit 406d74c4d7
3 changed files with 1237 additions and 1286 deletions

View File

@@ -91,7 +91,7 @@ function AttributesModel() {
await showAttributes(attributes);
// attribute might not be rendered immediatelly so could not focus
setTimeout(() => $(".attribute-name:last").focus(), 100);
setTimeout(() => $(".attribute-type-select:last").focus(), 100);
$ownedAttributesBody.sortable({
handle: '.handle',