mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Fixed javascript to be valid xhtml strict
This commit is contained in:
parent
56e1965f4f
commit
41a5673659
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ function refreshLists(){
|
||||||
dol = new DynamicOptionList("workspace","sequence");
|
dol = new DynamicOptionList("workspace","sequence");
|
||||||
dol.setFormName("form");
|
dol.setFormName("form");
|
||||||
|
|
||||||
url = "../mod/lams/list.php?courseid="+getElementById('form').course.value;
|
url = "../mod/lams/list.php?courseid="+document.getElementById('form').course.value;
|
||||||
if (window.XMLHttpRequest) { // Non-IE browsers
|
if (window.XMLHttpRequest) { // Non-IE browsers
|
||||||
req = new XMLHttpRequest();
|
req = new XMLHttpRequest();
|
||||||
req.onreadystatechange = processStateChange;
|
req.onreadystatechange = processStateChange;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue