mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
allowDrop() returns false, stop propergation on drop
This commit is contained in:
parent
d0b6038e5f
commit
cbd28d12b7
|
@ -120,7 +120,7 @@ $(document).ready( function() {
|
|||
|
||||
function allowDrop(ev) {
|
||||
ev.preventDefault();
|
||||
// console.log(ev);
|
||||
return false;
|
||||
}
|
||||
|
||||
function onDragStartDocument(ev) {
|
||||
|
@ -137,6 +137,7 @@ function onDragStartFolder(ev) {
|
|||
|
||||
function onDrop(ev) {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
attr_rel = $(ev.currentTarget).attr('rel');
|
||||
target_type = attr_rel.split("_")[0];
|
||||
target_id = attr_rel.split("_")[1];
|
||||
|
|
Loading…
Reference in New Issue
Block a user