mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Forced the PDF produced by the impact analysis to be downloaded as an attachment, otherwise on some browsers the result cannot be saved.
SVN:trunk[3725]
This commit is contained in:
@@ -1816,6 +1816,7 @@ EOF
|
||||
}
|
||||
|
||||
$oPage = new PDFPage($sTitle, $sPageFormat, $sPageOrientation);
|
||||
$oPage->SetContentDisposition('attachment', $sTitle.'.pdf');
|
||||
|
||||
$oGraph = DisplayableGraph::FromRelationGraph($oRelGraph, $iGroupingThreshold, ($sDirection == 'down'));
|
||||
$oGraph->InitFromGraphviz();
|
||||
|
||||
Reference in New Issue
Block a user