Skip to content

Commit

Permalink
Remove obsolete OFC flash-to-image code
Browse files Browse the repository at this point in the history
  • Loading branch information
agh1 committed Sep 8, 2020
1 parent 40564bf commit 14120ba
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions templates/CRM/Report/Form/Layout/Graph.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});

</script>
Expand Down

0 comments on commit 14120ba

Please sign in to comment.