client/app/annotationclient.html
changeset 42 926f0426ce78
parent 36 5d392dea4f49
child 48 a7abfcfd7959
--- a/client/app/annotationclient.html	Fri Oct 17 17:54:06 2014 +0200
+++ b/client/app/annotationclient.html	Sun Oct 19 12:52:38 2014 +0200
@@ -95,7 +95,9 @@
             {% if logging %}logging: true,{% endif %}
             urls: {
                 dataUrl: "{{ config['STATIC_URL'] }}/data/categories.json"
-            }
+            },
+            categories_json: '{% if categories_json %}{{categories_json}}{% endif %}',
+            {% if event_code %}event_code: "{{event_code}}",{% endif %}
         });
   </script>
 </body>