The problem is that the getLockOptionEndScript() may try to use getElement with the name of removed element
remove incompatibility between Moodle and Mootools JS framework
fixed in cvs
This fix has broken disabledIf in many forms. The problem is that if the dependentOn element is an element in a group then elementExists will return false.
Will revert this for now.
Fix was http://moodle.cvs.sourceforge.net/moodle/moodle/lib/formslib.php?r1=1.112&r2=1.113
Oh, sorry - working on another fix - thanks!
I am glad I did not try to commit it into head
reclosing - thanks!
added some more checks to prevent JS errors when hardFreezing elements with disabledIf conditions
The code to fix this is very similar to the patch Urs is working on to have mooTools js framework work with Moodle.