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

This commit is contained in:
scyrma 2008-03-31 06:53:35 +00:00
parent 013a8774a0
commit 0d6a8102df

View File

@ -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>";