MDL-16720 The edit icon in the quiz preview screen pops up the edit form in a window that is too small

This commit is contained in:
tjhunt
2008-09-28 08:59:43 +00:00
parent 8a16c85e8c
commit c26c206276
+2 -1
View File
@@ -612,7 +612,8 @@ class default_questiontype {
if ($context && has_capability('moodle/question:manage', $context)) {
$stredit = get_string('edit');
$linktext = '<img src="'.$CFG->pixpath.'/t/edit.gif" alt="'.$stredit.'" />';
$editlink = link_to_popup_window('/question/question.php?inpopup=1&amp;id='.$question->id, 'editquestion', $linktext, 450, 550, $stredit, '', true);
$editlink = link_to_popup_window('/question/question.php?inpopup=1&amp;id=' .
$question->id, 'editquestion', $linktext, false, false, $stredit, '', true);
}
$generalfeedback = '';