Displaying 1 result from an estimated 1 matches for "bb1f05b".
Did you mean:
1b1e05b
2009 Jul 24
2
[PATCH server] Add fallback message when flexchart is missing
...on of precompiled 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
+...