Bug #9444: Existence check
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 14 Dec 2010 05:15:20 +0000 (22:15 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 14 Dec 2010 05:15:20 +0000 (22:15 -0700)
horde/js/dragdrop2.js

index 57ec1ac..3fbad8c 100644 (file)
@@ -496,7 +496,7 @@ Drag = Class.create({
                 }
 
                 if (elt) {
-                    if (elt == this.ghost.elt) {
+                    if (this.ghost && (elt == this.ghost.elt)) {
                         return;
                     }