Focuses header control element on Add Row click in Cassandra (#212)
This commit is contained in:
parent
1bbe08378c
commit
b690fe18e6
|
@ -80,7 +80,7 @@ export default class AddTableEntityPane extends TableEntityPane {
|
|||
this.updateIsActionEnabled();
|
||||
super.open();
|
||||
}
|
||||
const focusElement = document.getElementById("addTableEntityValue");
|
||||
const focusElement = document.getElementById("closeAddEntityPane");
|
||||
focusElement && focusElement.focus();
|
||||
}
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
<div class="firstdivbg headerline">
|
||||
<span role="heading" aria-level="2" data-bind="text: title"></span>
|
||||
<div
|
||||
id="closeAddEntityPane"
|
||||
class="closeImg"
|
||||
role="button"
|
||||
aria-label="Close pane"
|
||||
|
|
Loading…
Reference in New Issue