mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 20:50:21 +01:00
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:
parent
949cf26cc2
commit
c6106dd9b7
@ -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&id='.$question->id.$cmorcourseid,
|
$editlink = link_to_popup_window('/question/question.php?inpopup=1&id=' .
|
||||||
'editquestion', $linktext, 450, 550, $stredit, '', true);
|
$question->id . $cmorcourseid, 'editquestion',
|
||||||
|
$linktext, false, false, $stredit, '', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
$generalfeedback = '';
|
$generalfeedback = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user