diff rhodecode/controllers/shortlog.py @ 1421:c6b811f11c94 beta

Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 09 Jul 2011 20:07:59 +0200
parents 13b507b73190
children bf263968da47 833f9dec0a06
line wrap: on
line diff
--- a/rhodecode/controllers/shortlog.py	Wed Jul 06 14:43:54 2011 +0200
+++ b/rhodecode/controllers/shortlog.py	Sat Jul 09 20:07:59 2011 +0200
@@ -53,7 +53,7 @@
                                                        items_per_page=size,
                                                        url=url_generator)
         c.shortlog_data = render('shortlog/shortlog_data.html')
-        if request.params.get('partial'):
+        if request.environ.get('HTTP_X_PARTIAL_XHR'):
             return c.shortlog_data
         r = render('shortlog/shortlog.html')
         return r