MantisBT - ATutor
View Issue Details
0003504ATutorContentpublic2008-07-21 09:452008-11-14 08:23
cindy 
harris 
normalminoralways
closedfixed 
1.6.1 
1.6.1 
SVN
0003504: insert a choosen file link from file manager into content doesn't work
page "Edit Content" => Link "Open File Manager" => Click button "Insert" of to insert a link of the selected file:

javascript error: window.opener.document.Form.setvisual has no property
No tags attached.
Issue History
2008-07-21 09:45cindyNew Issue
2008-07-21 09:45cindyAffects version => SVN
2008-07-21 09:49cindyDescription Updated
2008-07-21 09:51cindyStatusnew => resolved
2008-07-21 09:51cindyResolutionopen => fixed
2008-07-21 09:51cindyAssigned To => cindy
2008-07-21 09:51cindyNote Added: 0003071
2008-07-22 07:22cindyStatusresolved => feedback
2008-07-22 07:22cindyResolutionfixed => reopened
2008-07-22 07:22cindyNote Added: 0003078
2008-07-22 07:30cindyStatusfeedback => resolved
2008-07-22 07:30cindyFixed in Version => 1.6.1
2008-07-22 07:30cindyResolutionreopened => fixed
2008-07-22 07:30cindyNote Added: 0003079
2008-08-21 09:33gregStatusresolved => closed
2008-09-11 05:49harrisStatusclosed => feedback
2008-09-11 05:49harrisResolutionfixed => reopened
2008-09-11 05:49harrisNote Added: 0003170
2008-09-11 05:50harrisStatusfeedback => assigned
2008-09-11 05:50harrisAssigned Tocindy => harris
2008-09-11 05:50harrisStatusassigned => resolved
2008-09-11 05:50harrisResolutionreopened => fixed
2008-09-11 05:50harrisNote Added: 0003171
2008-11-14 08:23gregStatusresolved => closed

Notes
(0003071)
cindy   
2008-07-21 09:51   
SVN Revision: 7737

Because of form name conflict, rename name of content form (editor/edit_content.php) from "form" to "contentForm"
(0003078)
cindy   
2008-07-22 07:22   
form name change (from "form" to "contentForm") affected other javascripts that call document.form.
(0003079)
cindy   
2008-07-22 07:30   
SVN revision: 7740

Affected scripts:

editor/edit_content.php
include/html/editor_tabs/content_code_picker.inc.php
include/html/editor_tabs/edit.inc.php
include/html/filemanager_display.inc.php
(0003170)
harris   
2008-09-11 05:49   
Not able to switch between Text editor and Visual Editor

affected file:
include/html/editor_tabs/edit.inc.php
line 58

...onclick="javascript: document.form.setvisualbutton.disabled=false;"/>
should be
...onclick="javascript: document.contentForm.setvisualbutton.disabled=false;"/>
(0003171)
harris   
2008-09-11 05:50   
7867