Updated all dialogs to define their primary button, I've selected the one that had been specified for focus, but the primary button isn't dependent on focus, it's a UX feature
This commit is contained in:
parent
da8f7df262
commit
febd2110c5
6 changed files with 6 additions and 6 deletions
|
@ -56,7 +56,7 @@ module.exports = React.createClass({
|
|||
{this.props.description}
|
||||
</div>
|
||||
<div className="mx_Dialog_buttons">
|
||||
<button onClick={this.onOk} autoFocus={this.props.focus}>
|
||||
<button className="mx_Dialog_primary" onClick={this.onOk} autoFocus={this.props.focus}>
|
||||
{this.props.button}
|
||||
</button>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue