--- a/ckanext/ga_report/templates/ga_report/site/index.html +++ b/ckanext/ga_report/templates/ga_report/site/index.html @@ -9,8 +9,8 @@ - - + + @@ -41,46 +41,50 @@
-
- +
+
+ + ${month_selector(c.month, c.months, c.day)} + +
- + - +
NameValueValue History
${name}${value}${value} ${','.join([y for x,y in graph])} @@ -167,12 +171,6 @@ CKAN.GA_Reports.bind_sparklines(); CKAN.GA_Reports.bind_sidebar(); CKAN.GA_Reports.bind_month_selector(); - if (!window.location.hash) { - window.location.hash='totals'; - } - else { - $(window).trigger('hashchange'); - } });