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

Add ok trajectory support

parent 8d21d396
...@@ -2,6 +2,7 @@ var advisor = advisor || {}; ...@@ -2,6 +2,7 @@ var advisor = advisor || {};
$(function () { $(function () {
traj = parseInt($('trajid').text()) || 1;
advisor.Programs = new advisor.ProgramCollection(); advisor.Programs = new advisor.ProgramCollection();
var p = new advisor.Program({id: 3}); var p = new advisor.Program({id: 3});
advisor.Programs.reset([p]); advisor.Programs.reset([p]);
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
</div> </div>
</div> </div>
</script> </script>
<p style="display:none; id="trajid"">{{ trac.id }}</p>
{% endblock %} {% endblock %}
{% block content %} {% 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