projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b302a56
)
Catch disappeard ghosts. :-D
author
Jan Schneider
<jan@horde.org>
Fri, 11 Jun 2010 14:33:00 +0000
(16:33 +0200)
committer
Jan Schneider
<jan@horde.org>
Fri, 11 Jun 2010 14:34:06 +0000
(16:34 +0200)
horde/js/dragdrop2.js
patch
|
blob
|
history
diff --git
a/horde/js/dragdrop2.js
b/horde/js/dragdrop2.js
index
1c5c40b
..
69f82cc
100644
(file)
--- a/
horde/js/dragdrop2.js
+++ b/
horde/js/dragdrop2.js
@@
-440,7
+440,9
@@
Drag = Class.create({
if (!this.options.ghosting) {
this.element.setStyle({ visibility: 'visible' });
}
- this.ghost.remove();
+ try {
+ this.ghost.remove();
+ } catch (e) {}
this.ghost = null;
}