Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 324 Rev 325
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 getAnswerOfQuestion = (question) =>{
530
    const getAnswer = (question) =>{
Línea 531... Línea 531...
531
 
531
 
532
        if(question.type =='open' || question.type == "rating-open" ){
532
        if(question.type =='open' || question.type == "rating-open" ){
Línea 533... Línea 533...
533
 
533
 
Línea 534... Línea 534...
534
            return question.aswer;
534
            return question.aswer;
Línea 535... Línea 535...
535
        }
535
        }
Línea 546... Línea 546...
546
    /**
546
    /**
547
     * Render Sections data
547
     * Render Sections data
548
     */
548
     */
549
    const renderSectionData = (data) => $("#rows").html($("#sectionTemplate").render(data, {
549
    const renderSectionData = (data) => $("#rows").html($("#sectionTemplate").render(data, {
550
        removeTags: removeTags,
550
        removeTags: removeTags,
551
        getAnswer: getAnswerOfQuestion
551
        getAnswer: getAnswer
552
    }));
552
    }));
Línea 553... Línea 553...
553
 
553
 
554
 
554
 
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(questions)}} </td>
694
                            </tr>
694
                            </tr>
695
                        </tbody>
695
                        </tbody>
696
                    </table>
696
                    </table>
Línea 697... Línea 697...
697
                                                
697