Displaying 1 result from an estimated 1 matches for "c57ddda".
Did you mean:
5c7fdda
2009 Jul 24
2
[PATCH server] Add fallback message when flexchart is missing
...compiled swf hosted at ovirt.org.
---
src/app/helpers/graph_helper.rb | 9 +++++++++
src/app/views/graph/history_graphs.rhtml | 7 +++++++
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/app/helpers/graph_helper.rb b/src/app/helpers/graph_helper.rb
index bb1f05b..c57ddda 100644
--- a/src/app/helpers/graph_helper.rb
+++ b/src/app/helpers/graph_helper.rb
@@ -1,5 +1,14 @@
module GraphHelper
+ def swf_is_present
+ File.exists?(Rails.root.join('public','swfs','flexchart.swf'))
+ end
+
+ def swf_bits_download_url
+ "...