MDL-14103 - remove the call to s() - the string has to already be in html format.

This commit is contained in:
scyrma
2008-03-31 06:52:16 +00:00
parent dddf8e46ef
commit ec8f711d06
+1 -1
View File
@@ -4200,7 +4200,7 @@ function print_single_button($link, $options, $label='OK', $method='get', $targe
}
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>";