MantisBT - ATutor
View Issue Details
0003990ATutorContentpublic2009-11-10 06:412009-12-01 08:41
IndieRect 
cindy 
normaltrivialalways
closedfixed 
1.6.3 
1.6.4 
SVN
0003990: Same JavaScript output multiple times
On content editing page, tab Tests & Surveys, the JavaScript responsible for toggling row selection in the test table gets output several times, once per each row. The reason is that it's inside the loop printing out the rows.

The JavaScript fragment can safely be moved to the bottom of the file.


Related issue: 0003991
No tags attached.
Issue History
2009-11-10 06:41IndieRectNew Issue
2009-11-10 06:41IndieRectAffects version => SVN
2009-11-12 02:50gregStatusnew => assigned
2009-11-12 02:50gregAssigned To => cindy
2009-11-17 05:11cindyStatusassigned => resolved
2009-11-17 05:11cindyFixed in Version => 1.6.4
2009-11-17 05:11cindyResolutionopen => fixed
2009-11-17 05:11cindyNote Added: 0003881
2009-12-01 08:41gregStatusresolved => closed

Notes
(0003881)
cindy   
2009-11-17 05:11   
SVN revision: 8903

Solution: move the javascript out of the loop

Affected script: include/html/editor_tabs/tests.inc.php