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; }