From 6aabb5e8440a59f562da31fafb2abbc03943ae84 Mon Sep 17 00:00:00 2001 From: Aamir Khan Date: Fri, 10 Aug 2012 04:50:56 +0530 Subject: Issues #18: Fix broken links because URLs were hard coded --- hyperkitty/templates/thread.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hyperkitty/templates/thread.html') diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html index abf6747..a1bc38c 100644 --- a/hyperkitty/templates/thread.html +++ b/hyperkitty/templates/thread.html @@ -50,7 +50,7 @@ {% if user.is_authenticated %} $.ajax({ type : "POST", - url : '/vote/{{list_address}}/', + url : '{% url message_vote mlist_fqdn=list_address %}', data : { vote : 1, messageid : message_id, @@ -73,7 +73,7 @@ {% if user.is_authenticated %} $.ajax({ type : "POST", - url : '/vote/{{list_address}}/', + url : '{% url message_vote mlist_fqdn=list_address %}', data : { vote : -1, messageid : message_id, -- cgit