mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-8062 Remove name attribute from <form> and related javascript code cleanup (tested with FF, IE, Konq and Opera)
This commit is contained in:
parent
ee7f231d08
commit
d2ce367fb9
38 changed files with 135 additions and 125 deletions
|
@ -33,7 +33,7 @@ if (!isset($form->create_sequence_url)) {
|
|||
}
|
||||
?>
|
||||
|
||||
<form name="form" method="post" action="mod.php" onSubmit="disableSumbit(this);">
|
||||
<form id="form" method="post" action="mod.php" onSubmit="disableSumbit(this);">
|
||||
<center>
|
||||
<span id="message"><p>Please wait .......</p></span>
|
||||
<table cellpadding="5">
|
||||
|
@ -229,7 +229,7 @@ function refreshLists(){
|
|||
dol = new DynamicOptionList("workspace","sequence");
|
||||
dol.setFormName("form");
|
||||
|
||||
url = "../mod/lams/list.php?courseid="+document.form.course.value;
|
||||
url = "../mod/lams/list.php?courseid="+getElementById('form').course.value;
|
||||
if (window.XMLHttpRequest) { // Non-IE browsers
|
||||
req = new XMLHttpRequest();
|
||||
req.onreadystatechange = processStateChange;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue