mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
Remove rendering of the charts
There's something wrong with the swf_fu gem. It's not worth it to fix a gem that hasn't seen any activity in six years and is using outdated flash technology in the first place.
This commit is contained in:
parent
1ccf96ae83
commit
78742d15b8
1 changed files with 1 additions and 5 deletions
|
@ -1,6 +1,2 @@
|
|||
<% @swf_count ||= 0 -%>
|
||||
<div class="open-flash-chart"><%= swf_tag "open-flash-chart.swf",
|
||||
:flashvars => { 'width' => chart.width, 'height' => chart.height, 'data' => url_for(:action => chart.action)},
|
||||
:parameters => { 'allowScriptAccess' => 'sameDomain', 'wmode' => 'transparent'},
|
||||
:div_id => "chart_#{@swf_count+=1}",
|
||||
:size => chart.dimensions %></div>
|
||||
<div class="open-flash-chart"></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue