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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user