mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02: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
1 changed files with 8 additions and 2 deletions
|
@ -3666,9 +3666,15 @@ function print_continue($link, $return=false) {
|
|||
}
|
||||
}
|
||||
|
||||
$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…
Add table
Add a link
Reference in a new issue