If not running local, use ajax.googleapis to serve jquery
Patch by: Sverre Rabbelier
--- a/app/soc/templates/soc/base.html Wed Mar 11 21:30:28 2009 +0000
+++ b/app/soc/templates/soc/base.html Thu Mar 12 00:48:23 2009 +0000
@@ -42,7 +42,11 @@
{% block scripts %}
{% if uses_jq %}
+ {% if is_local %}
<script type='text/javascript' src="/jquery/jquery-1.2.6.js"></script>
+ {% else %}
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
+ {% endif %}
{% endif %}
{% if uses_json %}
<script type='text/javascript' src="/json/json2.js"></script>