Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
advisor
Commits
3aef0f2e
Commit
3aef0f2e
authored
Mar 02, 2014
by
Renfred Harper
Browse files
Add ok trajectory support
parent
8d21d396
Changes
2
Hide whitespace changes
Inline
Side-by-side
advisor/mainapp/static/js/advisor/app.js
View file @
3aef0f2e
...
...
@@ -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
]);
...
...
advisor/mainapp/templates/build.html
View file @
3aef0f2e
...
...
@@ -26,6 +26,7 @@
<
/div
>
<
/div
>
</script>
<p
style=
"display:none; id="
trajid
""
>
{{ trac.id }}
</p>
{% endblock %}
{% block content %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment