Edit Quiz Question Pop-up Window Size

Edit Quiz Question Pop-up Window Size

par jeff therrien,
Nombre de réponses : 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)

Moyenne des évaluations  -
En réponse à jeff therrien

Re: Edit Quiz Question Pop-up Window Size

par Tim Hunt,
Avatar Core developers Avatar Documentation writers Avatar Particularly helpful Moodlers Avatar Peer reviewers Avatar 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)