|
@@ -155,13 +155,13 @@ function renderContentscale(list, contentWrapClassName, name) {
|
|
|
its.content = its.content && its.content.replace(/{imageUrlPrefix}/g, imageUrlPrefix);
|
|
|
str = '<div class="radio" name="scale' + its.parentId + '" value="' + its.score + '">';
|
|
|
if (it.selectType == 21 && item.resultType == 1) {
|
|
|
- str += '<label><input class="radio_type" type="radio" name="scale' + it.parentId + '" value="' + its.score + '"/>'
|
|
|
+ str += '<label><input class="radio_type" type="radio" name="scale' + its.parentId + '" value="' + its.score + '"/>'
|
|
|
} else if (it.selectType == 22 && item.resultType == 1) {
|
|
|
- str += '<label><input class="radio_type" name="scale' + it.parentId + '" type="checkbox" value="' + its.score + '" />'
|
|
|
+ str += '<label><input class="radio_type" name="scale' + its.parentId + '" type="checkbox" value="' + its.score + '" />'
|
|
|
} else if (it.selectType == 21 && item.resultType == 2) {
|
|
|
- str += '<label><input class="radio_type" name="scale' + it.parentId + '" type="radio" value="' + its.result + '" data_obj="' + its.result + '"/>'
|
|
|
+ str += '<label><input class="radio_type" name="scale' + its.parentId + '" type="radio" value="' + its.result + '" data_obj="' + its.result + '"/>'
|
|
|
} else if (it.selectType == 22 && item.resultType == 2) {
|
|
|
- str += '<label><input class="radio_type" name="scale' + it.parentId + '" type="checkbox" value="' + its.result + '" data_obj="' + its.result + '"/>'
|
|
|
+ str += '<label><input class="radio_type" name="scale' + its.parentId + '" type="checkbox" value="' + its.result + '" data_obj="' + its.result + '"/>'
|
|
|
}
|
|
|
str += its.content
|
|
|
if (item.resultType == 1) {
|