Commit 3aef0f2e authored by Renfred Harper's avatar Renfred Harper

Add ok trajectory support

parent 8d21d396
......@@ -2,6 +2,7 @@ var advisor = advisor || {};
$(function () {
traj = parseInt($('trajid').text()) || 1;
advisor.Programs = new advisor.ProgramCollection();
var p = new advisor.Program({id: 3});
advisor.Programs.reset([p]);
......
......@@ -26,6 +26,7 @@
</div>
</div>
</script>
<p style="display:none; id="trajid"">{{ trac.id }}</p>
{% endblock %}
{% block content %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment