From 5a2fe2364f8e4c266a74a473146ab8044fde8359 Mon Sep 17 00:00:00 2001 From: Igor Oleinikov Date: Thu, 19 Dec 2013 14:48:32 +0400 Subject: [PATCH] dhtmlxgantt: fixed test --- dhtmlxgantt/dhtmlxgantt-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhtmlxgantt/dhtmlxgantt-tests.ts b/dhtmlxgantt/dhtmlxgantt-tests.ts index 0b491ce2b..1bfc7a089 100644 --- a/dhtmlxgantt/dhtmlxgantt-tests.ts +++ b/dhtmlxgantt/dhtmlxgantt-tests.ts @@ -28,6 +28,6 @@ gantt.init("scheduler_here", start); gantt.load("/data/events"); //events -gantt.attachEvent("onBeforeLightbox", function (id: string) { +gantt.attachEvent("onBeforeLightbox", function (id?: string) { gantt.showTask(id); }); \ No newline at end of file