Fix click events not working on inputs in the drive tree

pull/1/head
yflory 8 years ago
parent e761dc27c2
commit 84c16c00ad

@ -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);
}; };

Loading…
Cancel
Save