From b959c6e3677d0e70739e25920b91518c23dc6d4b Mon Sep 17 00:00:00 2001 From: tjhunt Date: Sun, 28 Sep 2008 08:59:57 +0000 Subject: [PATCH] MDL-16720 The edit icon in the quiz preview screen pops up the edit form in a window that is too small --- question/type/questiontype.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/question/type/questiontype.php b/question/type/questiontype.php index d7223f36775..4e75644a200 100644 --- a/question/type/questiontype.php +++ b/question/type/questiontype.php @@ -542,7 +542,8 @@ class default_questiontype { if ($context && has_capability('moodle/question:manage', $context)) { $stredit = get_string('edit'); $linktext = ''.$stredit.''; - $editlink = link_to_popup_window('/question/question.php?inpopup=1&id='.$question->id, 'editquestion', $linktext, 450, 550, $stredit, '', true); + $editlink = link_to_popup_window('/question/question.php?inpopup=1&id=' . + $question->id, 'editquestion', $linktext, false, false, $stredit, '', true); } $generalfeedback = ''; -- 2.11.4.GIT