Project

General

Profile

« Previous | Next » 

Revision 8eaa6ba7

Added by Ohad Levy over 7 years ago

fixes #18796 - do not flot charts by default

flot initalization relay on css class, if the css class conflict,
legacy flot to try and initalize on the same div as c3.

this removes charts.js to load by default, and only load it in pages
which requires it.

View differences:

app/views/about/index.html.erb
<% title _("About") %>
<%= javascript 'proxy_status', 'about' %>
<%= javascript 'proxy_status', 'charts', 'about' %>
<div class="row" id="about">
<div class="col-md-7">

Also available in: Unified diff