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();
|
this.updateIsActionEnabled();
|
||||||
super.open();
|
super.open();
|
||||||
|
this.focusValueElement();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.displayedAttributes(
|
this.displayedAttributes(
|
||||||
|
@ -79,8 +80,12 @@ export default class AddTableEntityPane extends TableEntityPane {
|
||||||
);
|
);
|
||||||
this.updateIsActionEnabled();
|
this.updateIsActionEnabled();
|
||||||
super.open();
|
super.open();
|
||||||
|
this.focusValueElement();
|
||||||
}
|
}
|
||||||
const focusElement = document.getElementById("closeAddEntityPane");
|
}
|
||||||
|
|
||||||
|
private focusValueElement() {
|
||||||
|
const focusElement = document.getElementById("addTableEntityValue");
|
||||||
focusElement && focusElement.focus();
|
focusElement && focusElement.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue