From 14120ba9f4aa2714c30d0fd8d85e8c8098fe9524 Mon Sep 17 00:00:00 2001 From: Andrew Hunt Date: Tue, 8 Sep 2020 15:59:23 -0400 Subject: [PATCH] Remove obsolete OFC flash-to-image code --- templates/CRM/Report/Form/Layout/Graph.tpl | 9 --------- 1 file changed, 9 deletions(-) diff --git a/templates/CRM/Report/Form/Layout/Graph.tpl b/templates/CRM/Report/Form/Layout/Graph.tpl index 33eedecb86..0add07e2ea 100644 --- a/templates/CRM/Report/Form/Layout/Graph.tpl +++ b/templates/CRM/Report/Form/Layout/Graph.tpl @@ -34,15 +34,6 @@ var divName = {/literal}"chart_{$uniqueId}"{literal}; createChart( chartID, divName, chartValues.size.xSize, chartValues.size.ySize, allData[chartID].object ); }); - - // FIXME - $("input[id$='submit_print'],input[id$='submit_pdf']").bind('click', function(e){ - // image creator php file path and append image name - var url = CRM.url('civicrm/report/chart', 'name=' + '{/literal}{$chartId}{literal}' + '.png'); - - //fetch object and 'POST' image - swfobject.getObjectById("chart_{/literal}{$uniqueId}{literal}").post_image(url, true, false); - }); }); -- 2.25.1