Skip to content
Snippets Groups Projects
Commit 255baf94 authored by Prasad's avatar Prasad
Browse files

Fix to make module icon work

parent deac5764
No related branches found
No related tags found
1 merge request!311Language italian translation
......@@ -60,6 +60,9 @@ class EmailTemplates_Detail_View extends Vtiger_Index_View {
$viewer->assign('RECORD', $recordModel);
$viewer->assign('USER_MODEL', Users_Record_Model::getCurrentUserModel());
$viewer->assign('MODULE_NAME', $moduleName);
if ($request->isAjax()) {
$viewer->assign('MODULE_MODEL', $recordModel->getModule());
}
$viewer->view('DetailViewFullContents.tpl', $moduleName);
}
......@@ -79,4 +82,4 @@ class EmailTemplates_Detail_View extends Vtiger_Index_View {
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment