Edit Quiz Question Pop-up Window Size

Edit Quiz Question Pop-up Window Size

by jeff therrien -
Number of replies: 1
When I preview a quiz and edit a question, it opens in an external window which is really small. Is there a way to make it larger? It seems like the workflow could be streamlined here.

(Edited by Tim Hunt - strip MS word junk - original submission Saturday, 27 September 2008, 07:47 AM)

Average of ratings: -
In reply to jeff therrien

Re: Edit Quiz Question Pop-up Window Size

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Hmm, I suppose we are using Moodle's standard open popup window function, which defaults to this size. Ah, no, the relevant line of code is in print_question in question/type/questiontype.php. $editlink = link_to_popup_window, the one that starts $editlink = link_to_popup_window. We are explicitly specifying a size there which is very slightly larger than the default. Hmm, you are right that it could probably be improved. I wonder, woudl passing false as a width and height cause the new window to be the same size as the current one? Yes, that works. OK, done. (MDL-16720)