Skip to content
Browse files

MDL-16720 The edit icon in the quiz preview screen pops up the edit f…

…orm in a window that is too small
  • Loading branch information...
1 parent fc193fe commit e42effaa672432fa8f5967e8c8a8d562021dd6bb tjhunt committed Sep 28, 2008
Showing with 3 additions and 2 deletions.
  1. +3 −2 question/type/questiontype.php
View
5 question/type/questiontype.php
@@ -834,8 +834,9 @@ function print_question(&$question, &$state, $number, $cmoptions, $options) {
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&amp;id='.$question->id.$cmorcourseid,
- 'editquestion', $linktext, 450, 550, $stredit, '', true);
+ $editlink = link_to_popup_window('/question/question.php?inpopup=1&amp;id=' .
+ $question->id . $cmorcourseid, 'editquestion',
+ $linktext, false, false, $stredit, '', true);
}
$generalfeedback = '';

0 comments on commit e42effa

Please sign in to comment.
Something went wrong with that request. Please try again.