# HG changeset patch # User Sverre Rabbelier # Date 1235074421 0 # Node ID c63de68dadecaed18519643fbc1bd975b2c0608a # Parent 2238f2af74284b66f21f4ca9dd5813b42d7c7e42 Fixed blog on home view For some reason the script does not work if it resides in it's own file, perhaps some JS guru can enlighten? Patch by: Sverre Rabbelier diff -r 2238f2af7428 -r c63de68dadec app/soc/content/js/feed-loader.js --- a/app/soc/content/js/feed-loader.js Thu Feb 19 19:57:07 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -google.load("feeds", "1"); - -function initialize() { - var blog = new BlogPreview(document.getElementById("blog")); - blog.show("{{ entity.feed_url }}", 3); -} -google.setOnLoadCallback(initialize); - diff -r 2238f2af7428 -r c63de68dadec app/soc/templates/soc/presence/home.html --- a/app/soc/templates/soc/presence/home.html Thu Feb 19 19:57:07 2009 +0000 +++ b/app/soc/templates/soc/presence/home.html Thu Feb 19 20:13:41 2009 +0000 @@ -18,7 +18,15 @@ {% if entity.feed_url %} - + {% endif %} {% endblock %}