diff gpp/core/widgets.py @ 11:cc8eb028def1

Update jquery-ui and theme version that is hosted on google. In preparation for having jquery on every page (?), make it so that the autocomplete plug is using the 'global' jquery, and not the one that came with it. It seems to work okay with jquery 1.3.2.
author Brian Neal <bgneal@gmail.com>
date Tue, 14 Apr 2009 02:35:35 +0000
parents b6263ac72052
children f408971657b9
line wrap: on
line diff
--- a/gpp/core/widgets.py	Sun Apr 12 20:47:15 2009 +0000
+++ b/gpp/core/widgets.py	Tue Apr 14 02:35:35 2009 +0000
@@ -13,7 +13,8 @@
         css = {
             'all': settings.GPP_THIRD_PARTY_CSS['jquery-autocomplete'],
         }
-        js = settings.GPP_THIRD_PARTY_JS['jquery-autocomplete']
+        js = settings.GPP_THIRD_PARTY_JS['jquery'] + \
+             settings.GPP_THIRD_PARTY_JS['jquery-autocomplete']
 
     def render(self, name, value, attrs=None):
         url = reverse('messages-ajax_users')