MDL-12172: fixed get parameters not being submitted in Firefox

Author: Matt Clarkson <mattc@catalyst.net.nz>
This commit is contained in:
mattc-catalyst 2007-11-19 01:45:45 +00:00
parent 5bbf18cd6f
commit 6779dc6a02

View file

@ -3665,10 +3665,16 @@ function print_continue($link, $return=false) {
$link = $CFG->wwwroot .'/'; $link = $CFG->wwwroot .'/';
} }
} }
$options = array();
$linkparts = parse_url($link);
if (isset($linkparts['query'])) {
parse_str($linkparts['query'], $options);
}
$output .= '<div class="continuebutton">'; $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"; $output .= '</div>'."\n";
if ($return) { if ($return) {