mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-25 15:06:55 +00:00
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
Block a user