The teacher can now move selected questions to a chosen category or delete them, see http://moodle.org/mod/forum/discuss.php?d=16239 and http://moodle.org/mod/forum/discuss.php?d=19734

There is also a 'Deselect all' button which I implemented provisionally by putting an extra function checknone() into javascript-static.js. This should be cleaned up by someone who knows javascript.
This commit is contained in:
gustav_delius
2005-03-06 12:00:46 +00:00
parent 556963f5f1
commit 03f9425fd2
5 changed files with 127 additions and 21 deletions
+7
View File
@@ -23,6 +23,13 @@ function checkall() {
void(el[i].checked=1)
}
function checknone() {
void(d=document);
void(el=d.getElementsByTagName('INPUT'));
for(i=0;i<el.length;i++)
void(el[i].checked=0)
}
function lockoptions(form, master, subitems) {
// subitems is an array of names of sub items
// requires that each item in subitems has a