MantisBT - ATutor
View Issue Details
0003991ATutorContentpublic2009-11-10 06:412009-12-16 03:59
IndieRect 
cindy 
normalminoralways
closedfixed 
1.6.3 
1.6.4 
SVN
0003991: JavaScript: Clicking on a checkbox doesn't toggle it
On content editing page, tab Tests & Surveys, there's a bug with the test table: when a checkbox is clicked, it's not toggled.
Apparently, it first gets toggled as usual, and then toggled back by the JavaScript responsible for selecting it when its row is clicked.


Related issue: 0003990
No tags attached.
Issue History
2009-11-10 06:41IndieRectNew Issue
2009-11-10 06:41IndieRectAffects version => SVN
2009-11-12 02:49gregStatusnew => assigned
2009-11-12 02:49gregAssigned To => cindy
2009-11-13 09:32cindyStatusassigned => resolved
2009-11-13 09:32cindyFixed in Version => 1.6.4
2009-11-13 09:32cindyResolutionopen => fixed
2009-11-13 09:32cindyNote Added: 0003861
2009-11-17 05:11cindyStatusresolved => feedback
2009-11-17 05:11cindyResolutionfixed => reopened
2009-11-17 05:13cindyStatusfeedback => resolved
2009-11-17 05:13cindyResolutionreopened => fixed
2009-11-17 05:13cindyNote Added: 0003882
2009-12-01 08:41gregStatusresolved => closed
2009-12-11 04:19IndieRectStatusclosed => feedback
2009-12-11 04:19IndieRectResolutionfixed => reopened
2009-12-11 04:19IndieRectNote Added: 0003980
2009-12-11 08:00cindyStatusfeedback => resolved
2009-12-11 08:00cindyResolutionreopened => fixed
2009-12-11 08:00cindyNote Added: 0003981
2009-12-16 03:59gregStatusresolved => closed

Notes
(0003861)
cindy   
2009-11-13 09:32   
SVN revision: 8903

Solution: move javascript out of the loop

Affected script: include/html/editor_tabs/tests.inc.php
(0003882)
cindy   
2009-11-17 05:13   
Also fixed the checkbox toggle issue by adding onmouseup event onto checkboxes.
(0003980)
IndieRect   
2009-12-11 04:19   
Same issue in the inbox (inbox/index.php and inbox/sent_messages.php).
(0003981)
cindy   
2009-12-11 08:00   
Hi Indie, thanks for the report. Fixed.

SVN revision: 9027

Solution: add "onmouseup" event on checkboxes.

Affected scripts:
inbox/index.php
inbox/sent_message.php