Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Fix Version/s: 2.0
-
Component/s: Accessibility, Database SQL/XMLDB, General, Resource, Workshop
-
Labels:None
-
Environment:Server: MacPro, MacOS 10.4.9, Moodle 1.8+ (downloaded from CVS on 26th May), Apache 1.3.33, php 5.2.1, MySQL 5.0.24a
Client: MacOS 10.4.9, Browsers: Firefox 2.0.0.2, Mozilla 1.7.5, Safari 2.0.4
-
Affected Branches:MOODLE_18_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
In MDL-9690 I reported that the Previous and Next activity buttons do not open resources as expected in the bottom frame, but in a new frame at the top. There appears to be similar frame problems in the Workshop activity module and perhaps with the MySQL Admin tool.
The 'Link to file or web site' in 'Add a resource...' menu: see MDL-9690 for details
The Workshop activity module:
When a student or teacher assess an assignment the grading criteria appear in the top frame, and the assignment in the bottom frame. When they finish assessing an assignment they click on 'save', which in the past (moodle 1.6.2) would have taken them back to the list of students to be assessed - i.e. the two frames would close. However, with 1.8 it just opens up another frame, again containing the grading criteria. See the attached JPEG. The same thing happens when viewing assessments.
MySQL Admin tool:
When viewing the MySQL databse via the MySQL Admin tool, phpMyAdmin appear in the lower frame. When clicking on the breadcrumbs in the left of the top frame, moodle behaves as expected. However, when clicking on the users name in the top right, or clicking on 'logout', only the top frame changes, and the bottom frame remains open with the phpMyAdmin still visible. See the attached JPEG.
Attachments
Issue Links
| This issue is duplicated by: | ||||
| MDL-12573 | Duplicated frame when assessing workshop student submissions |
|
|
|
I don't know if this helps anyone, but on my system one solution that seems to work (but is Javascript dependent) is:
in moodle/mod/workshop/locallib.php:
change the line (2053):
<form id="assessmentform" method="post" action="assessments.php">
to:
<form id="assessmentform" method="post" action="assessments.php" onsubmit="this.target='_top'">
I hope that helps to get a little closer to a solution