Permalink
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...
tjhunt
tjhunt committed Sep 28, 2008
1 parent c2a020b commit b959c6e3677d0e70739e25920b91518c23dc6d4b
Showing with 2 additions and 1 deletion.
  1. +2 −1 question/type/questiontype.php
@@ -542,7 +542,8 @@ function print_question(&$question, &$state, $number, $cmoptions, $options) {
if ($context && has_capability('moodle/question:manage', $context)) {
$stredit = get_string('edit');
$linktext = '<img src="'.$CFG->pixpath.'/t/edit.gif" border="0" 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 = '';

0 comments on commit b959c6e

Please sign in to comment.