~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-12-15 05:08:05 UTC
  • mto: This revision was merged to the branch mainline in revision 1433.
  • Revision ID: me@williamgrant.id.au-20091215050805-ohqhdj8w48afks2n
Apply the function input changes to the stdin input, and add a linebreak after the 'Description' label.

Show diffs side-by-side

added added

removed removed

Lines of Context:
482
482
    set_test_part_function(partid, test_type);
483
483
};
484
484
 
485
 
/* When a test suite's function checkbox is toggled, enable or
486
 
 * disable and clear the textbox.
 
485
/* When a test suite attribute checkbox is toggled, enable or disable
 
486
 * and clear the textbox.
487
487
 */
488
 
function test_suite_function_enabled(suiteid)
 
488
function test_suite_checkbox_toggled(which, suiteid)
489
489
{
490
 
    var name = "test_suite_" + suiteid + "_function";
 
490
    var name = "test_suite_" + suiteid + "_" + which;
491
491
    var textbox_elem = $("#" + name);
492
492
 
493
493
    if ($("#" + name + "_enabled").is(":checked"))