N°2780 Add ContextTag::TAG_CONSOLE for ajax operations

This commit is contained in:
Pierre Goiffon
2020-02-12 17:20:10 +01:00
parent 133d267aca
commit fae8c9edbd

View File

@@ -75,6 +75,18 @@ try
$sClass = utils::ReadParam('class', 'MissingAjaxParam', false, 'class');
$sStyle = utils::ReadParam('style', 'list');
// N°2780 Fix ContextTag for console
// some operations are also used in the portal though
switch ($operation)
{
case 'export_build':
case 'export_download':
// do nothing : used in portal (export.js in portal-base)
default:
ContextTag::AddContext(ContextTag::TAG_CONSOLE);
}
switch ($operation)
{
case 'datatable':