summaryrefslogtreecommitdiffstats
path: root/hyperkitty/static
diff options
context:
space:
mode:
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});
});
}