summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-06-13 17:23:48 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-06-13 17:46:33 +0200
commit09cd0fbcad7b62fbb7cbfb5adfbf78406db2555a (patch)
treec5df6008b289ec80f217b2c696294059287a8189 /hyperkitty/templates
parent56d884568d52d42c6a18905fb7b2f004b1a6b296 (diff)
downloadhyperkitty-09cd0fbcad7b62fbb7cbfb5adfbf78406db2555a.tar.gz
hyperkitty-09cd0fbcad7b62fbb7cbfb5adfbf78406db2555a.tar.xz
hyperkitty-09cd0fbcad7b62fbb7cbfb5adfbf78406db2555a.zip
Split the JS code into more manageable chunks
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/base.html2
-rw-r--r--hyperkitty/templates/thread.html3
2 files changed, 4 insertions, 1 deletions
diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html
index 4a36641..fb1e4d5 100644
--- a/hyperkitty/templates/base.html
+++ b/hyperkitty/templates/base.html
@@ -94,7 +94,7 @@
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="{{ STATIC_URL }}libs/jquery/jquery-1.8.3.min.js"><\/script>')</script>
<script src="{{ STATIC_URL }}libs/jquery/jquery-ui-1.10.0.custom.min.js"></script>
- {% assets filters="rjsmin", output="gen/hyperkitty.js", "libs/bootstrap/js/bootstrap.min.js", "libs/jquery.expander.js", "libs/d3.v2.min.js", "libs/jquery.hotkeys.js", "js/hyperkitty.js" %}
+ {% assets filters="rjsmin", output="gen/hyperkitty.js", "libs/bootstrap/js/bootstrap.min.js", "libs/jquery.expander.js", "libs/d3.v2.min.js", "libs/jquery.hotkeys.js", "js/hyperkitty-common.js", "js/hyperkitty-frontpage.js", "js/hyperkitty-overview.js", "js/hyperkitty-thread.js", "js/hyperkitty-userprofile.js" %}
<script src="{{ ASSET_URL }}"></script>
{% endassets %}
{% block additionaljs %} {% endblock %}
diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html
index 44a0a5b..491d08a 100644
--- a/hyperkitty/templates/thread.html
+++ b/hyperkitty/templates/thread.html
@@ -77,6 +77,9 @@
<script type="text/javascript">
$(document).ready(function() {
+ setup_tags();
+ setup_favorites();
+ setup_emails_list();
// Hide quotes by default in the thread view
fold_quotes();
// Load the replies