Commits add table entity pane changes without steve's changes (#227)
This commit is contained in:
parent
28ceb18d73
commit
290ca4aba5
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue