summaryrefslogtreecommitdiffstats
path: root/hyperkitty/static
diff options
context:
space:
mode:
authornka11 <nka11@nka.com>2013-12-19 08:33:29 +0100
committernka11 <nka11@nka.com>2013-12-19 08:33:29 +0100
commitf2fe699eeb99d7b5309e32e7af84e2fe99cccba0 (patch)
tree3810ef78f822e5e4c2065ce8c35272083dc3fdf4 /hyperkitty/static
parentb1f68e455222dae82e28084d8c4544c1675ab97c (diff)
parent9ba1b2989426e1eb3d6772f4f07662407b8e9bfa (diff)
downloadhyperkitty-f2fe699eeb99d7b5309e32e7af84e2fe99cccba0.tar.gz
hyperkitty-f2fe699eeb99d7b5309e32e7af84e2fe99cccba0.tar.xz
hyperkitty-f2fe699eeb99d7b5309e32e7af84e2fe99cccba0.zip
Merge branch 'master' of https://github.com/hyperkitty/hyperkitty into HEAD
Diffstat (limited to 'hyperkitty/static')
-rw-r--r--hyperkitty/static/hyperkitty/js/hyperkitty-index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/hyperkitty/static/hyperkitty/js/hyperkitty-index.js b/hyperkitty/static/hyperkitty/js/hyperkitty-index.js
index a99f06e..bc68fdd 100644
--- a/hyperkitty/static/hyperkitty/js/hyperkitty-index.js
+++ b/hyperkitty/static/hyperkitty/js/hyperkitty-index.js
@@ -47,7 +47,8 @@ function setup_index(url_template) {
$(".all-lists table.lists tr.list").each(function() {
var listelem = $(this);
var listname = $.trim(listelem.find(".list-address").text());
- var url = url_template.replace(/PLACEHOLDER@PLACEHOLDER/, listname);
+ url_template = url_template.replace(/@/, "%40"); // Django 1.5 compatibility, it did not escape the url tag
+ var url = url_template.replace(/PLACEHOLDER%40PLACEHOLDER/, listname);
ajax_chart(listelem.find("div.chart"), url, {height: 30});
});
}