mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 07:01:12 +00:00
drag-items-move
This commit is contained in:
@@ -429,7 +429,7 @@ class DirentListItem extends React.Component {
|
||||
return ;
|
||||
}
|
||||
|
||||
let {nodeDirent, nodeParentPath, nodeRootPath} = dragStartItemData;
|
||||
let { nodeDirent, nodeParentPath, nodeRootPath } = dragStartItemData;
|
||||
let dropItemData = this.props.dirent;
|
||||
|
||||
if (nodeDirent.name === dropItemData.name) {
|
||||
|
@@ -577,7 +577,8 @@ class DirentListView extends React.Component {
|
||||
let {nodeDirent, nodeParentPath, nodeRootPath} = dragStartItemData;
|
||||
|
||||
if (e.target.className === 'table-container table-drop-active') {
|
||||
if (Array.isArray(dragStartItemData)) {
|
||||
|
||||
if (Array.isArray(dragStartItemData)) { //selected items
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user