WeBWorK Main Forum

"select all is not working in classlist editor2"

"select all is not working in classlist editor2"

by Michael Gage -
Number of replies: 5
I am wondering about the status of 
"select all" in the classlist editor2, I can't get it to work. 
I imported a class list in the incorrect format and would like to delete all except the teachers and start over, the only way I know how to do this is to delete them (all 503) by checking each check box one at a time...I must be missing something. Cheers

Jack Dockery
In reply to Michael Gage

Re: "select all is not working in classlist editor2"

by Michael Gage -
Hi Jack,

I haven't been able to duplicate this. It's possible that having uploaded
the classlist in an incorrect format some part of the entered text has disabled the javaScript. 

If you are using chrome you can choose view->developer->developer tools to get a window that will give you javaScript error messages. (Or use firebug in firefox, or similar tools in Safari). That might give you a clue as to what is going wrong.

Take care,

Mike

In reply to Michael Gage

Re: "select all is not working in classlist editor2"

by Gavin LaRose -
Hi Mike and Jack,

I see this behavior (the "Select all users" button doesn't work) using ClasslistEditor2 in Firefox 31.4.0 for Linux (yes, that's old---I'm in RHEL, which updates slowly). The error in the developer console is "document.userlist is undefined." It doesn't seem to matter what tab I'm in when trying this.

In ClasslistEditor the "Select all users" button works fine.

For what it's worth,
Gavin

In reply to Gavin LaRose

Re: "select all is not working in classlist editor2"

by Michael Gage -
Hi Gavin,

What version of webwork2 are you using?  And what theme?

Take care,

Mike

In reply to Michael Gage

Re: "select all is not working in classlist editor2"

by Gavin LaRose -
Hi Mike,

We're way behind the curve, running WeBWorK 2.7.

Gavin
In reply to Gavin LaRose

Re: "select all is not working in classlist editor2"

by Michael Gage -
Seems this may fixed in the current master (release/2.10):

This seems like its an issue with an older version.  2.10 (and maybe even 2.9)

did away with the "Select all users" button.  Now there is a checkbox in the

header list of the table that uses jquery to select all.  I do remember that

select all didn't exactly work correctly in older versions because the form

name was wrong.

reference: http://bugs.webwork.maa.org/show_bug.cgi?id=3296