Skip to content

Commit 2e1c14b

Browse files
committed
add current assignment to localstorage
1 parent 5a72fb1 commit 2e1c14b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/rsptx/templates/assignment/student/doAssignment.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ <h3>Questions</h3>
233233

234234
<script>
235235
assignmentId = {{ assignment.id }};
236+
localStorage.setItem("currentAssignmentId", assignmentId);
236237
//console.log(document.getElementsByClassName('nav nav-tabs'))
237238
// This script renders the html into elements in the DOM
238239
// The html gets thrown into a script tag so javascript can mess with it without throwing errors all over the place

0 commit comments

Comments
 (0)