Skip to content

Commit

Permalink
changed old getElementById(id).submit() to the new submitFormById(id)…
Browse files Browse the repository at this point in the history
… call.
  • Loading branch information
urs_hunkler committed Jul 25, 2007
1 parent 48b5d8f commit a08d370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/category.php
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@
}
}

choose_from_menu ($displaylist, "moveto", "", get_string("moveselectedcoursesto"), "javascript: getElementById('movecourses').submit()");
choose_from_menu ($displaylist, "moveto", "", get_string("moveselectedcoursesto"), "javascript: submitFormById('movecourses')");
echo '<input type="hidden" name="id" value="'.$category->id.'" />';
echo '</td></tr>';
}
Expand Down

0 comments on commit a08d370

Please sign in to comment.