mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 18:29:23 +00:00
Fix bug - rename submit failed when click enter in grid mode (#6363)
This commit is contained in:
@@ -65,6 +65,7 @@ class Rename extends React.Component {
|
||||
|
||||
handleKeyDown = (e) => {
|
||||
if (e.key === 'Enter') {
|
||||
e.preventDefault();
|
||||
this.handleSubmit();
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user