diff --git a/core/displayablegraph.class.inc.php b/core/displayablegraph.class.inc.php index dced1517be..b7fbe7475b 100644 --- a/core/displayablegraph.class.inc.php +++ b/core/displayablegraph.class.inc.php @@ -1496,6 +1496,7 @@ function DisplayGraph(WebPage $oP, $sRelation, ApplicationContext $oAppContext, 'excluded' => $aExcludedByClass, 'grouping_threshold' => $iGroupingThreshold, 'export_as_pdf' => array('url' => $sExportAsPdfURL, 'label' => Dict::S('UI:Relation:ExportAsPDF')), + 'transaction_id' => utils::GetNewTransactionId(), 'export_as_attachment' => array('url' => $sExportAsDocumentURL, 'label' => Dict::S('UI:Relation:ExportAsAttachment'), 'obj_class' => $sObjClass, 'obj_key' => $iObjKey), 'drill_down' => array('url' => $sDrillDownURL, 'label' => Dict::S('UI:Relation:DrillDown')), 'labels' => array( diff --git a/js/simple_graph.js b/js/simple_graph.js index 1e2980bc84..65ecedfe9b 100644 --- a/js/simple_graph.js +++ b/js/simple_graph.js @@ -19,6 +19,7 @@ $(function() sources: {}, excluded: {}, export_as_pdf: null, + transaction_id: null, page_format: { label: 'Page Format:', values: { A3: 'A3', A4: 'A4', Letter: 'Letter' }, 'default': 'A4'}, page_orientation: { label: 'Page Orientation:', values: { P: 'Portait', L: 'Landscape' }, 'default': 'L' }, labels: { @@ -590,6 +591,7 @@ $(function() var sHtmlForm = '