Edit Quiz Question Pop-up Window Size

Edit Quiz Question Pop-up Window Size

per jeff therrien -
Nombre de respostes: 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)

Mitjana de qualificacions: -
En resposta a jeff therrien

Re: Edit Quiz Question Pop-up Window Size

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