From: Jan Schneider Date: Wed, 17 Feb 2010 18:06:32 +0000 (+0100) Subject: Fix error when clicking on draggable events. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d393a54e0c48bd28b18045f7cf18f940fd318bd8;p=horde.git Fix error when clicking on draggable events. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 62f902bb8..4111b6362 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -3194,7 +3194,9 @@ KronolithCore = { attributes; div.removeClassName('kronolithSelected'); - this._setEventText(drag.innerDiv, event.value); + if (!Object.isUndefined(drag.innerDiv)) { + this._setEventText(drag.innerDiv, event.value); + } drag.destroy(); this.startLoading(event.value.calendar, start + end); if (!Object.isUndefined(event.value.offsetTop)) {