From d2b530beef7b400a09fb34051da44a4a463b4509 Mon Sep 17 00:00:00 2001 From: sunhao Date: Wed, 10 Sep 2025 09:59:27 +0800 Subject: [PATCH] * [bug #65320] fix gantt label not show sometimes. --- lib/zin/wg/gantt/v1.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/zin/wg/gantt/v1.php b/lib/zin/wg/gantt/v1.php index 042b89666d..16099ff687 100644 --- a/lib/zin/wg/gantt/v1.php +++ b/lib/zin/wg/gantt/v1.php @@ -29,10 +29,7 @@ class gantt extends wg { global $app; $currentLang = $app->getClientLang(); - $langJSFile = $app->getWwwRoot() . 'js/dhtmlxgantt/lang/' . $currentLang . '.js'; - $js = file_get_contents(__DIR__ . DS . 'js' . DS . 'v1.js'); - if($currentLang != 'en' && file_exists($langJSFile)) $js .= "\nwaitGantt(function(){\n" . file_get_contents($langJSFile) . "\n});\n"; return $js; }