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:50 +00:00
parent 949cf26cc2
commit c6106dd9b7

View File

@ -920,8 +920,9 @@ class default_questiontype {
if (question_has_capability_on($question, 'edit')) { if (question_has_capability_on($question, 'edit')) {
$stredit = get_string('edit'); $stredit = get_string('edit');
$linktext = '<img src="'.$CFG->pixpath.'/t/edit.gif" alt="'.$stredit.'" />'; $linktext = '<img src="'.$CFG->pixpath.'/t/edit.gif" alt="'.$stredit.'" />';
$editlink = link_to_popup_window('/question/question.php?inpopup=1&amp;id='.$question->id.$cmorcourseid, $editlink = link_to_popup_window('/question/question.php?inpopup=1&amp;id=' .
'editquestion', $linktext, 450, 550, $stredit, '', true); $question->id . $cmorcourseid, 'editquestion',
$linktext, false, false, $stredit, '', true);
} }
$generalfeedback = ''; $generalfeedback = '';