* [bug #65320] fix gantt label not show sometimes.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user