mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 04:33:13 +01:00
MDL-14103 - remove the call to s() - the string has to already be in html format. (merge - 1.9)
This commit is contained in:
parent
013a8774a0
commit
0d6a8102df
@ -4226,7 +4226,7 @@ function print_single_button($link, $options, $label='OK', $method='get', $notus
|
||||
}
|
||||
if ($jsconfirmmessage){
|
||||
$jsconfirmmessage = addslashes_js($jsconfirmmessage);
|
||||
$jsconfirmmessage = 'onclick="'.s('return confirm("'.$jsconfirmmessage.'");').'"';
|
||||
$jsconfirmmessage = 'onclick="return confirm(\''. $jsconfirmmessage .'\');" ';
|
||||
}
|
||||
$output .= '<input type="submit" value="'. s($label) ."\" $tooltip $disabled $jsconfirmmessage/></div></form></div>";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user