fixed check for template specific tree-images-directory in html::tree, jdots was using it, without having one

This commit is contained in:
Ralf Becker 2013-11-18 22:05:04 +00:00
parent 363e2d5d5f
commit c68ae86a18

View File

@ -1205,7 +1205,7 @@ egw_LAB.wait(function() {
'/phpgwapi/templates/default' => $GLOBALS['egw']->framework->template_dir,
'/default/' => '/'.$GLOBALS['egw']->framework->template.'/',
));
if (file_exists(EGW_SERVER_ROOT.$templated_path))
if (file_exists(EGW_SERVER_ROOT.$templated_path.'/dhtmlxtree'))
{
$folderImageDir = ($webserver_url != '/' ? $webserver_url : '').$templated_path;
//error_log(__METHOD__."() setting templated image-path: $folderImageDir");