[Jifty-commit] jifty-plugin-chart branch, master, updated. 0676cc664fa6d186c47e3e1e19e1a591d3c88520

Jifty commits jifty-commit at lists.jifty.org
Wed Jan 13 17:26:19 EST 2010


The branch, master has been updated
       via  0676cc664fa6d186c47e3e1e19e1a591d3c88520 (commit)
      from  7e08a04442a523c483d688c5dc2ff254b70891f8 (commit)

Summary of changes:
 lib/Jifty/Plugin/Chart/Renderer/GoogleViz.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 0676cc664fa6d186c47e3e1e19e1a591d3c88520
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Jan 13 17:25:42 2010 -0500

    Load JS from a schemeless URL so HTTP/HTTPS works

diff --git a/lib/Jifty/Plugin/Chart/Renderer/GoogleViz.pm b/lib/Jifty/Plugin/Chart/Renderer/GoogleViz.pm
index ec3f010..99347b5 100644
--- a/lib/Jifty/Plugin/Chart/Renderer/GoogleViz.pm
+++ b/lib/Jifty/Plugin/Chart/Renderer/GoogleViz.pm
@@ -18,7 +18,7 @@ We need to load Google's JS.
 sub init {
     my $self = shift;
 
-    Jifty->web->add_external_javascript("http://www.google.com/jsapi");
+    Jifty->web->add_external_javascript("//www.google.com/jsapi");
 }
 
 =head2 render

-----------------------------------------------------------------------


More information about the Jifty-commit mailing list