changeset 229:08b30ac04580

Who's online middleware wasn't returning a proper response in the is_ajax case.
author Brian Neal <bgneal@gmail.com>
date Tue, 13 Jul 2010 01:25:48 +0000
parents d77e0dc772ad
children 5ee9422ce83c
files gpp/core/middleware.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/core/middleware.py	Sun Jul 11 21:03:41 2010 +0000
+++ b/gpp/core/middleware.py	Tue Jul 13 01:25:48 2010 +0000
@@ -39,7 +39,7 @@
         Keep track of who is online.
         """
         if request.is_ajax():
-            return
+            return response
 
         if request.user.is_authenticated():
             if request.COOKIES.get(ONLINE_COOKIE) is None: