Permalink
Browse files

Remove loading of the google jsapi that is used for charts in the Radar.

  • Loading branch information...
1 parent 2600177 commit fbdc6445c5b64b9f431d3edccd9fdf169b6d5559 @reebalazs reebalazs committed Apr 6, 2012
Showing with 5 additions and 4 deletions.
  1. +1 −1 karl/ux2/layout.py
  2. +4 −3 karl/ux2/panels.py
View
@@ -115,7 +115,7 @@ def head_data(self):
return head_data
extra_js_head = (
- 'karl.views:static/ux2/google/jsapi.js',
+ ##'karl.views:static/ux2/google/jsapi.js',
)
extra_css = (
View
@@ -331,8 +331,9 @@ def wiki_lock(context, request, lock_info):
# global resources insert
def extra_head(context, request):
# google api must be loaded from head, non-defer
- html = '<script>\n' \
- 'google.load("visualization", "1", {packages:["corechart"]});\n' \
- '</script>\n'
+ ##html = '<script>\n' \
+ ## 'google.load("visualization", "1", {packages:["corechart"]});\n' \
+ ## '</script>\n'
+ html = ''
return html

0 comments on commit fbdc644

Please sign in to comment.