Skip to content
Snippets Groups Projects
Commit 6a270300 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #5356 fix consigne drag and drop

parent d3b21b4f
No related branches found
No related tags found
No related merge requests found
......@@ -277,6 +277,14 @@ function initDragNDropAvis() {
}
});
$j('#avis_content')
.on('focus', '.consigne', function(e) {
$j(this).closest('.droptarget').attr("draggable", false);
console.log($j(this).closest('.droptarget'));
})
.on('blur', '.consigne', function(e) {
$j(this).closest('.droptarget').attr("draggable", true);
});
}
function checkRealDateAvis() {
......
......@@ -282,6 +282,14 @@ function initDragNDropVisa() {
}
});
$j('#visa_content')
.on('focus', '.consigne', function(e) {
$j(this).closest('.droptarget').attr("draggable", false);
console.log($j(this).closest('.droptarget'));
})
.on('blur', '.consigne', function(e) {
$j(this).closest('.droptarget').attr("draggable", true);
});
}
function manageFrame(button) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment