MDL-19756 Migrating choose_from_menu to outputlib

This commit is contained in:
nicolasconnault
2009-07-28 02:45:13 +00:00
parent bef1011e3d
commit 8e127eb38e
8 changed files with 180 additions and 127 deletions

View File

@ -205,9 +205,8 @@ function lockoptionsallsetup(formid) {
return lockoptionsall(formid);
}
function submitFormById(id) {
var theform = document.getElementById(id);
function submit_form_by_id(e, args) {
var theform = document.getElementById(args.id);
if(!theform) {
return false;
}