Commits add table entity pane changes without steve's changes (#227)

This commit is contained in:
Zachary Foster 2020-09-23 18:29:04 -04:00 committed by GitHub
parent 28ceb18d73
commit 290ca4aba5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -69,6 +69,7 @@ export default class AddTableEntityPane extends TableEntityPane {
);
this.updateIsActionEnabled();
super.open();
this.focusValueElement();
});
} else {
this.displayedAttributes(
@ -79,8 +80,12 @@ export default class AddTableEntityPane extends TableEntityPane {
);
this.updateIsActionEnabled();
super.open();
this.focusValueElement();
}
const focusElement = document.getElementById("closeAddEntityPane");
}
private focusValueElement() {
const focusElement = document.getElementById("addTableEntityValue");
focusElement && focusElement.focus();
}