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:
@@ -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&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 = '';
|
||||
|
||||
Reference in New Issue
Block a user