changed old getElementById(id).submit() to the new submitFormById(id) call.

This commit is contained in:
urs_hunkler
2007-07-25 11:16:17 +00:00
parent bc898bed7b
commit b552ea3586
+2 -1
View File
@@ -416,7 +416,8 @@
}
}
choose_from_menu ($displaylist, "moveto", "", get_string("moveselectedcoursesto"), "javascript: getElementById('movecourses').submit()");
// 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>';
}