~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/media/tutorial/tutorial.js

  • Committer: stevenbird
  • Date: 2008-02-22 00:01:34 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:537
bugfix -- legacy of renaming problems to exercises; caused run button not to work

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
function runexercise(exerciseid, filename)
33
33
{
34
34
    /* Get the source code the student is submitting */
35
 
    var exercisediv = document.getElementById(problemid);
 
35
    var exercisediv = document.getElementById(exerciseid);
36
36
    var exercisebox = exercisediv.getElementsByTagName("textarea")[0];
37
37
    var code = exercisebox.value;
38
38