Nothing to remove here, as it is not a part of the DOM
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 13 Apr 2010 20:22:09 +0000 (14:22 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 13 Apr 2010 22:51:41 +0000 (16:51 -0600)
horde/js/dragdrop2.js

index f6cddd7..7a83fa5 100644 (file)
@@ -455,9 +455,7 @@ Drag = Class.create({
 
         this.element.fire(this.wasMoved ? 'DragDrop2:end' : 'DragDrop2:mouseup', Object.clone(e));
 
-        if (tmp) {
-            tmp.remove();
-        }
+        tmp = null;
     },
 
     _onMoveDrag: function(xy, e)