MantisBT - ATutor
View Issue Details
0004603ATutorContentpublic2010-10-26 06:322010-12-20 10:19
cindy 
cindy 
normalminoralways
closedfixed 
2.0.1 
2.0.1 
SVN
0004603: Javascript error at course home page
The error says:

Syntax error: jQuery("#folder"+).show();\n

See the attached image for the detail.

The error happens when there's no folder node in the side menu "content navigation".
No tags attached.
jpg course_error1.JPG (160,943) 2010-10-26 06:32
http://www.atutor.ca/atutor/mantis/file_download.php?file_id=94&type=bug
jpg
Issue History
2010-10-26 06:32cindyNew Issue
2010-10-26 06:32cindyFile Added: course_error1.JPG
2010-10-26 06:32cindyAffects version => SVN
2010-10-26 06:32cindyStatusnew => assigned
2010-10-26 06:32cindyAssigned To => cindy
2010-12-02 11:57cindyStatusassigned => resolved
2010-12-02 11:57cindyFixed in Version => 2.0.1
2010-12-02 11:57cindyResolutionopen => fixed
2010-12-02 11:57cindyNote Added: 0004757
2010-12-20 10:19gregStatusresolved => closed

Notes
(0004757)
cindy   
2010-12-02 11:57   
SVN revision: 10382

Solution: The error occurs when there is no content folder in the course but the script tries to open the first folder on side menu "content navigation". The fix is not to include this chunk of js when no content folder is detected.

Affected: include/ContentManager.class.php

Patch 01 includes this fix.