mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
Bug fix: make Excel export work on results of the global search.
SVN:2.1.1[3604]
This commit is contained in:
@@ -601,6 +601,7 @@ try
|
|||||||
if ($iErrors == 0)
|
if ($iErrors == 0)
|
||||||
{
|
{
|
||||||
$oP->set_title(Dict::S('UI:SearchResultsPageTitle'));
|
$oP->set_title(Dict::S('UI:SearchResultsPageTitle'));
|
||||||
|
$oP->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/xlsx-export.js'); // Since the results are loaded asynchronously they don't do this on their own
|
||||||
$oP->add("<div style=\"padding: 10px;\">\n");
|
$oP->add("<div style=\"padding: 10px;\">\n");
|
||||||
$oP->add("<div class=\"header_message\" id=\"full_text_progress\" style=\"position: fixed; background-color: #cccccc; opacity: 0.7; padding: 1.5em;\">\n");
|
$oP->add("<div class=\"header_message\" id=\"full_text_progress\" style=\"position: fixed; background-color: #cccccc; opacity: 0.7; padding: 1.5em;\">\n");
|
||||||
$oP->add('<img id="full_text_indicator" src="../images/indicator.gif"> <span style="padding: 1.5em;">'.Dict::Format('UI:Search:Ongoing', htmlentities($sFullText, ENT_QUOTES, 'UTF-8')).'</span>');
|
$oP->add('<img id="full_text_indicator" src="../images/indicator.gif"> <span style="padding: 1.5em;">'.Dict::Format('UI:Search:Ongoing', htmlentities($sFullText, ENT_QUOTES, 'UTF-8')).'</span>');
|
||||||
@@ -1654,4 +1655,4 @@ catch(Exception $e)
|
|||||||
IssueLog::Error($e->getMessage());
|
IssueLog::Error($e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user