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

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/media/exercise_admin.js

  • Committer: William Grant
  • Date: 2009-03-12 10:08:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1290.
  • Revision ID: grantw@unimelb.edu.au-20090312100839-k58mobkcec27wdep
Suite editing widgets are templated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
/* Modify, add and delete suites */
101
101
function edit_suite(suiteid)
102
102
{
103
 
    var desc = $('#test_suite_description_' + suiteid).val();
104
 
    var func = $('#test_suite_function_' + suiteid).val();
105
 
    var stdin = $('#test_suite_stdin_' + suiteid).val();
 
103
    var desc = $('#test_suite_' + suiteid + '_description').val();
 
104
    var func = $('#test_suite_' + suiteid + '_function').val();
 
105
    var stdin = $('#test_suite_' + suiteid + '_stdin').val();
106
106
    
107
107
    var callback = function(xhr)
108
108
    {