Fix click events not working on inputs in the drive tree
This commit is contained in:
@@ -345,11 +345,11 @@ define([
|
|||||||
// since it would remove the input
|
// since it would remove the input
|
||||||
$input.on('mousedown', function (e) {
|
$input.on('mousedown', function (e) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
$input.parents('li').attr("draggable", false);
|
$input.parents('.element-row').attr("draggable", false);
|
||||||
});
|
});
|
||||||
$input.on('mouseup', function (e) {
|
$input.on('mouseup', function (e) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
$input.parents('li').attr("draggable", true);
|
$input.parents('.element-row').attr("draggable", true);
|
||||||
});
|
});
|
||||||
},0);
|
},0);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user