Issue Details (XML | Word | Printable)

Key: MDL-6085
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Tim Hunt
Reporter: N Hansen
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

When editing a question from the icon in a preview/review, we should not use a popup, instead, we should redirect back to that point in the quiz

Created: 12/Jul/06 08:20 AM   Updated: 10/Jun/09 12:19 PM
Return to search
Component/s: Quiz
Affects Version/s: 1.9
Fix Version/s: 1.9.4

Environment: All

Participants: N Hansen, Sam Hemelryk and Tim Hunt
Security Level: None
QA Assignee: Sam Hemelryk
Resolved date: 10/Dec/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
When I am previewing a quiz, and I click to edit a question in that quiz, when I am done editing it, it would be helpful if I was returned to the same place I was in the preview. Instead it takes me to the edit page with all the questions for that quiz.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
tjhunt committed 7 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 10/Dec/08 03:22 PM
quiz: MDL-6085 when editing a question from various places like a preview attempt or review screen, don't use a popup, instead take advantage of the fact that question.php now takes a returnurl.
MODIFY question/type/description/questiontype.php   Rev. 1.11.2.6    (+2 -18 lines)
MODIFY mod/quiz/report/grading/report.php   Rev. 1.25.2.15    (+2 -1 lines)
MODIFY question/preview.php   Rev. 1.23.2.5    (+2 -1 lines)
MODIFY question/type/questiontype.php   Rev. 1.74.2.15    (+53 -19 lines)
MODIFY mod/quiz/review.php   Rev. 1.59.2.8    (+11 -8 lines)
MODIFY mod/quiz/attempt.php   Rev. 1.131.2.13    (+3 -3 lines)
MODIFY mod/quiz/reviewquestion.php   Rev. 1.16.10.7    (+5 -2 lines)
tjhunt committed 9 files to 'Moodle CVS' - 10/Dec/08 03:26 PM
quiz: MDL-6085 when editing a question from various places like a preview attempt or review screen, don't use a popup, instead take advantage of the fact that question.php now takes a returnurl. Merged from MOODLE_19_STABLE.

And MDL-17568 minor niggles with new queston navigation:
* The bit that scrolls down to the question you just submitted in adaptive mode was not working with random questions.
* Teachers reviewing an open attempt were shown the qusetions as editable, not read only!
MODIFY question/type/questiontype.php   Rev. 1.110    (+59 -20 lines)
MODIFY mod/quiz/attempt.php   Rev. 1.159    (+2 -2 lines)
MODIFY question/type/question.html   Rev. 1.20    (+1 -1 lines)
MODIFY question/preview.php   Rev. 1.35    (+2 -1 lines)
MODIFY mod/quiz/review.php   Rev. 1.85    (+2 -2 lines)
MODIFY question/type/description/questiontype.php   Rev. 1.19    (+2 -18 lines)
MODIFY mod/quiz/reviewquestion.php   Rev. 1.32    (+10 -5 lines)
MODIFY mod/quiz/attemptlib.php   Rev. 1.30    (+19 -3 lines)
MODIFY mod/quiz/report/grading/report.php   Rev. 1.51    (+2 -1 lines)
tjhunt committed 2 files to 'Moodle CVS' - 16/Jan/09 01:47 PM
quiz / questions: MDL-17919 Bad link edit questions from quiz preview page.

Thanks to Ann Adamcik for noticing this. It was a regression from MDL-6085.
MODIFY question/type/questiontype.php   Rev. 1.119    (+3 -3 lines)
MODIFY mod/quiz/attemptlib.php   Rev. 1.35    (+1 -4 lines)
tjhunt committed 4 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 16/Jan/09 01:47 PM
quiz / questions: MDL-17919 Bad link edit questions from quiz preview page.

Thanks to Ann Adamcik for noticing this. It was a regression from MDL-6085.
MODIFY mod/quiz/reviewquestion.php   Rev. 1.16.10.9    (+2 -1 lines)
MODIFY mod/quiz/review.php   Rev. 1.59.2.10    (+2 -1 lines)
MODIFY mod/quiz/attempt.php   Rev. 1.131.2.14    (+2 -1 lines)
MODIFY question/type/questiontype.php   Rev. 1.74.2.20    (+4 -4 lines)