--- a/alcatel/django/templates/clusterDoc.html Wed Sep 04 10:03:16 2013 +0200
+++ b/alcatel/django/templates/clusterDoc.html Tue Sep 10 13:25:16 2013 +0200
@@ -24,7 +24,7 @@
{% endblock %}
{% block body %}
- <body onLoad="articles({{ request.session.jsondocuments }});loadStreamgraph({{ request.session.jsonstreamgraphdossierdoc }});">
+ <body onLoad="articles({{ request.session.jsondocuments }});loadStreamgraphDoc({{ request.session.jsonstreamgraphdossierdoc }},{{request.session.docId}},'{{request.session.user}}');">
{% endblock %}
{% block query %}
@@ -130,4 +130,9 @@
{% block affichage %} {% endblock %}
{% block filtrestreamgraph %}<input type="hidden" id="requestType" name="requestType" value="streamgraphUpdate"/>{% endblock %}
- {% block filtretreemap %}<form id="ajaxfiltretreemapdoc" method="post" action="/" class="filtre-date"><input type="hidden" id="requestType" name="requestType" value="treemapUpdate"/>{% endblock %}
\ No newline at end of file
+ {% block filtretreemap %}<form id="ajaxfiltretreemapdoc" method="post" action="/" class="filtre-date"><input type="hidden" id="requestType" name="requestType" value="treemapUpdate"/>{% endblock %}
+
+ {% block streamgraphjs %}
+ <script src="{{ STATIC_URL }}js/streamgraphdoc.js"></script>
+ {% endblock %}
+
\ No newline at end of file