From 08abe654acc75697fc7718190c86691aeba121d2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 21 Aug 2014 14:12:07 +0000 Subject: [PATCH] fixed sometimes (specially day-view) not working drag-n-drop, caused by DOM not ready --- calendar/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/js/app.js b/calendar/js/app.js index 6f56227c59..e2bb7749e6 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -40,8 +40,8 @@ app.classes.calendar = AppJS.extend( { window.top.app.calendar = this; } - //Drag_n_Drop - this.drag_n_drop(); + //Drag_n_Drop (need to wait for DOM ready to init dnd) + jQuery(jQuery.proxy(this.drag_n_drop,this)); }, /**