mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 00:20:07 +00:00
[a11y] 'transfer' dialog: added support for 'keyboard access'
This commit is contained in:
@@ -95,7 +95,7 @@ class TransferDialog extends React.Component {
|
||||
/>
|
||||
}
|
||||
{isPro && canTransferToDept &&
|
||||
<span className="action-link" onClick={this.onClick}>{this.state.transferToUser ?
|
||||
<span role="button" tabIndex="0" className="action-link" onClick={this.onClick} onKeyDown={Utils.onKeyDown}>{this.state.transferToUser ?
|
||||
gettext('Transfer to department'): gettext('Transfer to user')}
|
||||
</span>
|
||||
}
|
||||
|
Reference in New Issue
Block a user