Fix click events not working on inputs in the drive tree

This commit is contained in:
yflory
2017-03-13 15:53:13 +01:00
parent e761dc27c2
commit 84c16c00ad

View File

@@ -345,11 +345,11 @@ define([
// since it would remove the input
$input.on('mousedown', function (e) {
e.stopPropagation();
$input.parents('li').attr("draggable", false);
$input.parents('.element-row').attr("draggable", false);
});
$input.on('mouseup', function (e) {
e.stopPropagation();
$input.parents('li').attr("draggable", true);
$input.parents('.element-row').attr("draggable", true);
});
},0);
};