Ticket #7217: dndCopy.patch

File dndCopy.patch, 0.6 kB (added by jbalogh, 6 months ago)

patch against dojox@14430

  • layout/dnd/PlottedDnd.js

    diff --git layout/dnd/PlottedDnd.js b/layout/dnd/PlottedDnd.js
    index 98a5657..1fa3b01 100644
     
    128128                        else { 
    129129                                if (source == this && this._over && this.dropObject)  
    130130                                        this.current = this.dropObject.c; 
    131                                 dojox.layout.dnd.PlottedDnd.superclass.onDndDrop.call(this, source, nodes, false, target); 
     131                                dojox.layout.dnd.PlottedDnd.superclass.onDndDrop.call(this, source, nodes, copy, target); 
    132132                                this._calculateCoords(true); 
    133133                        } 
    134134                }