Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 325 | Rev 327 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 325 Rev 326
Línea 525... Línea 525...
525
        e.preventDefault();
525
        e.preventDefault();
526
        $('#form-main #form-continue').val('0')
526
        $('#form-main #form-continue').val('0')
527
        $('#form-main').submit();
527
        $('#form-main').submit();
528
    });
528
    });
Línea 529... Línea 529...
529
 
529
 
Línea 530... Línea 530...
530
    const getAnswer = (question) =>{
530
    const getAnswer = (type, options, answer) =>{
Línea 531... Línea 531...
531
 
531
 
532
        if(question.type =='open' || question.type == "rating-open" ){
532
        if(type =='open' || type == "rating-open" ){
Línea 533... Línea 533...
533
 
533
 
Línea 534... Línea 534...
534
            return question.aswer;
534
            return aswer;
Línea 535... Línea 535...
535
        }
535
        }
Línea 688... Línea 688...
688
                                <th colspan="3">LABEL_ANSWER</th>
688
                                <th colspan="3">LABEL_ANSWER</th>
689
                            </tr>
689
                            </tr>
690
                        </thead>
690
                        </thead>
691
                        <tbody>
691
                        <tbody>
692
                            <tr class="tr-question">
692
                            <tr class="tr-question">
693
                                <td colspan="3" class="text-left">{{:~getAnswer(questions)}} </td>
693
                                <td colspan="3" class="text-left">{{:~getAnswer(
-
 
694
                                    type
-
 
695
                                    options,
-
 
696
                                    answer
-
 
697
                                    )}} </td>
694
                            </tr>
698
                            </tr>
695
                        </tbody>
699
                        </tbody>
696
                    </table>
700
                    </table>
Línea 697... Línea 701...
697
                                                
701