Sanitize detail view input rendering

This commit is contained in:
bfederle 2012-03-14 12:32:42 -07:00 committed by Salvatore Orlando
parent 8a9bbe496b
commit 25f57c3f59

View File

@ -310,7 +310,7 @@
));
else if ($input.is('input[type=checkbox]')) {
var val = $input.is(':checked');
$value.data('detail-view-boolean-value', _s(val));
$value.html(_s(val) ? _l('label.yes') : _l('label.no'));
}