$CFG->frametarget alone does not work for framed resources, we should add also the js this.target= trick there
fixed in cvs
I think this is broken again...
In 1.8.1, if a resource is a link to a file using a frame, then the previous and next navigation breaks.
This is because the previous and next forms are using $CFG->frametarget, which doesn't get set if the frame being used is "_top".
Suggest changing the navmenu function to explicitly place "target=$CFG->framename".
Fixed. Added a 'target=' to the forms.