summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-07-09 00:40:17 -0500
committerDan McGee <dan@archlinux.org>2012-07-28 17:52:52 -0500
commit2a221fa72fd8491ca1a0633ba62b6a846267b4fc (patch)
tree5768f0af4e3ca1c55df498ff552c03663862e261 /main
parent280c53eec5661252b5692fa374292c4d421e3bd8 (diff)
Upgrade to jQuery 1.7.2 and a maintained tablesorterrelease_2012-07-28
This touches a wide variety of files as well as makes updates to some of our own code to be fully compatible. We also use some of the newer locale/accent sorting features of tablesorter to make tables with developer names sort in a more sane fashion. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main')
-rw-r--r--main/templatetags/cdn.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/templatetags/cdn.py b/main/templatetags/cdn.py
index 54299823..fb78039c 100644
--- a/main/templatetags/cdn.py
+++ b/main/templatetags/cdn.py
@@ -7,7 +7,7 @@ register = template.Library()
@register.simple_tag
def jquery():
- version = '1.4.4'
+ version = '1.7.2'
oncdn = getattr(settings, 'CDN_ENABLED', True)
if oncdn:
link = 'https://ajax.googleapis.com/ajax/libs/jquery/' \
@@ -20,7 +20,8 @@ def jquery():
@register.simple_tag
def jquery_tablesorter():
- filename = 'jquery.tablesorter.min.js'
+ version = '2.3.11'
+ filename = 'jquery.tablesorter-%s.min.js' % version
link = staticfiles_storage.url(filename)
return '<script type="text/javascript" src="%s"></script>' % link