Don't select subfolders in the tree when drag&drop
parent
a26b9d3240
commit
c6c3e1bbb5
|
@ -609,6 +609,7 @@ define([
|
|||
var onDrag = function (ev, path) {
|
||||
var paths = [];
|
||||
var $element = $(ev.target).closest('li');
|
||||
if ($element.find('>.element-row').length) { $element = $element.find('>.element-row'); }
|
||||
if ($element.hasClass('selected')) {
|
||||
var $selected = $iframe.find('.selected');
|
||||
$selected.each(function (idx, elmt) {
|
||||
|
|
Loading…
Reference in New Issue