From: Jan Schneider Date: Fri, 11 Jun 2010 14:33:00 +0000 (+0200) Subject: Catch disappeard ghosts. :-D X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8debc8bd706fec7705d4d4d32f8dae9bba5284fa;p=horde.git Catch disappeard ghosts. :-D --- diff --git a/horde/js/dragdrop2.js b/horde/js/dragdrop2.js index 1c5c40b4e..69f82cc69 100644 --- 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; }