mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-12172: fixed get parameters not being submitted in Firefox
Author: Matt Clarkson <mattc@catalyst.net.nz>
This commit is contained in:
parent
5bbf18cd6f
commit
6779dc6a02
@ -3665,10 +3665,16 @@ function print_continue($link, $return=false) {
|
||||
$link = $CFG->wwwroot .'/';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$options = array();
|
||||
$linkparts = parse_url($link);
|
||||
if (isset($linkparts['query'])) {
|
||||
parse_str($linkparts['query'], $options);
|
||||
}
|
||||
|
||||
$output .= '<div class="continuebutton">';
|
||||
|
||||
$output .= print_single_button($link, NULL, get_string('continue'), 'get', $CFG->framename, true);
|
||||
$output .= print_single_button($link, $options, get_string('continue'), 'get', $CFG->framename, true);
|
||||
$output .= '</div>'."\n";
|
||||
|
||||
if ($return) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user