various formslib work including bug fixes for MDL-8039 id attribute collision between forms and page ids. Also added editor helpbutton. This is a fix for MDL-6941 need the ability to associate several helptopics with htmleditor. Also started on converting forms for question types to formslib.
This commit is contained in:
@@ -83,8 +83,7 @@ function unlockoption(form,item) {
|
||||
}
|
||||
function lockoptionsall(formid) {
|
||||
var lock = new Object();
|
||||
var varname = formid.replace(/\-/g, '_');
|
||||
var items = eval(varname+'items');
|
||||
var items = eval(formid+'items');
|
||||
var form = document.forms[formid];
|
||||
for (var master in items){
|
||||
var subitems=items[master].dependents;
|
||||
|
||||
Reference in New Issue
Block a user