summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAamir Khan <syst3m.w0rm@gmail.com>2012-08-10 06:39:29 +0530
committerAamir Khan <syst3m.w0rm@gmail.com>2012-08-10 06:39:29 +0530
commitc629cbceabddd5335dc42f7a3916e9c3d1a06db8 (patch)
treee687d7946d7296d9640194718582faf36daa6a37 /hyperkitty/templates
parente5dc1c48ea48177e21cff6670a2dbf0c4c4cf262 (diff)
downloadhyperkitty-c629cbceabddd5335dc42f7a3916e9c3d1a06db8.tar.gz
hyperkitty-c629cbceabddd5335dc42f7a3916e9c3d1a06db8.tar.xz
hyperkitty-c629cbceabddd5335dc42f7a3916e9c3d1a06db8.zip
Feature : Add tag to email threads
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/thread.html2
-rw-r--r--hyperkitty/templates/threads/add_tag_form.html2
-rw-r--r--hyperkitty/templates/threads/right_col.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html
index 20248f1..f3b521e 100644
--- a/hyperkitty/templates/thread.html
+++ b/hyperkitty/templates/thread.html
@@ -99,7 +99,7 @@
$.ajax({
type: "POST",
data : $(this).serialize(),
- url: "{% url add_tag mlist_fqdn=list_address, email_id=first_mail.message_id %}",
+ url: "{% url add_tag mlist_fqdn=list_address, email_id=threadid %}",
success: function(data){
console.log('Tag is added successfully');
}
diff --git a/hyperkitty/templates/threads/add_tag_form.html b/hyperkitty/templates/threads/add_tag_form.html
index 9df2196..f719152 100644
--- a/hyperkitty/templates/threads/add_tag_form.html
+++ b/hyperkitty/templates/threads/add_tag_form.html
@@ -3,7 +3,7 @@
{% block header %} {% endblock %}
{% block content %}
-<form id="addtag" action="{% url add_tag mlist_fqdn=list_address, email_id=first_mail.message_id %}" method="post">
+<form id="addtag" action="{% url add_tag mlist_fqdn=list_address, email_id=threadid %}" method="post">
{% csrf_token %}
{{ addtag_form }}
<button type="submit">
diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html
index f50bc46..71ec1b6 100644
--- a/hyperkitty/templates/threads/right_col.html
+++ b/hyperkitty/templates/threads/right_col.html
@@ -37,7 +37,7 @@
</ul>
</div>
<div id="add_tag">
- <form id="add_tag_form" name="addtag" action="{% url add_tag mlist_fqdn=list_address, email_id=first_mail.message_id %}" method="post">
+ <form id="add_tag_form" name="addtag" action="{% url add_tag mlist_fqdn=list_address, email_id=threadid %}" method="post">
{% csrf_token %}
{{ addtag_form.as_p }}
<button type="submit">