mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
fix for MDL-10440 IE7 and IE6 on win xp error when changing "disable" state of "Start date"
This commit is contained in:
parent
4256a13437
commit
c0056e2227
@ -137,16 +137,18 @@ function lockoptionsallsetup(formid) {
|
||||
if (master == undefined) {
|
||||
continue;
|
||||
}
|
||||
master.onclick = function() {return lockoptionsall(this.form.getAttribute('id'));};
|
||||
master.onblur = function() {return lockoptionsall(this.form.getAttribute('id'));};
|
||||
master.onchange = function() {return lockoptionsall(this.form.getAttribute('id'));};
|
||||
master.formid = formid;
|
||||
master.onclick = function() {return lockoptionsall(this.formid);};
|
||||
master.onblur = function() {return lockoptionsall(this.formid);};
|
||||
master.onchange = function() {return lockoptionsall(this.formid);};
|
||||
}
|
||||
for (var i = 0; i < form.elements.length; i++){
|
||||
var formelement = form.elements[i];
|
||||
if (formelement.type=='reset') {
|
||||
formelement.onclick = function() {this.form.reset();return lockoptionsall(this.form.getAttribute('id'));};
|
||||
formelement.onblur = function() {this.form.reset();return lockoptionsall(this.form.getAttribute('id'));};
|
||||
formelement.onchange = function() {this.form.reset();return lockoptionsall(this.form.getAttribute('id'));};
|
||||
formelement.formid = formid;
|
||||
formelement.onclick = function() {this.form.reset();return lockoptionsall(this.formid);};
|
||||
formelement.onblur = function() {this.form.reset();return lockoptionsall(this.formid);};
|
||||
formelement.onchange = function() {this.form.reset();return lockoptionsall(this.formid);};
|
||||
}
|
||||
}
|
||||
return lockoptionsall(formid);
|
||||
|
Loading…
x
Reference in New Issue
Block a user