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:
@@ -920,8 +920,9 @@ class default_questiontype {
|
||||
if (question_has_capability_on($question, 'edit')) {
|
||||
$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.$cmorcourseid,
|
||||
'editquestion', $linktext, 450, 550, $stredit, '', true);
|
||||
$editlink = link_to_popup_window('/question/question.php?inpopup=1&id=' .
|
||||
$question->id . $cmorcourseid, 'editquestion',
|
||||
$linktext, false, false, $stredit, '', true);
|
||||
}
|
||||
|
||||
$generalfeedback = '';
|
||||
|
||||
Reference in New Issue
Block a user