mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°2780 Add ContextTag::TAG_CONSOLE for ajax operations
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user