diff options
| author | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-08-10 04:50:56 +0530 |
|---|---|---|
| committer | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-08-10 04:50:56 +0530 |
| commit | 6aabb5e8440a59f562da31fafb2abbc03943ae84 (patch) | |
| tree | 37b714c5036c672fb44c4b5ecbc29bf3cac2d58c /hyperkitty/templates/thread.html | |
| parent | 24bdfc8bc396078d7143857c6ac5a42f6939a852 (diff) | |
| download | hyperkitty-6aabb5e8440a59f562da31fafb2abbc03943ae84.tar.gz hyperkitty-6aabb5e8440a59f562da31fafb2abbc03943ae84.tar.xz hyperkitty-6aabb5e8440a59f562da31fafb2abbc03943ae84.zip | |
Issues #18: Fix broken links because URLs were hard coded
Diffstat (limited to 'hyperkitty/templates/thread.html')
| -rw-r--r-- | hyperkitty/templates/thread.html | 4 |
1 files changed, 2 insertions, 2 deletions
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, |
