Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 180 Rev 181
Línea 1249... Línea 1249...
1249
    });
1249
    });
Línea 1250... Línea 1250...
1250
 
1250
 
1251
     /**
1251
     /**
1252
      * Get Question type
1252
      * Get Question type
1253
      */
1253
      */
1254
     const getQuestionTypeBySlug = (slug_section: string, slug_question: string) => {
1254
     const getQuestionTypeBySlug = (slug_section, slug_question) => {
1255
         for (i = 0; i < objFormGenerator.sections.length; i++) {
1255
         for (i = 0; i < objFormGenerator.sections.length; i++) {
1256
             if (slug_section == objFormGenerator.sections[i].slug_section) {
1256
             if (slug_section == objFormGenerator.sections[i].slug_section) {
1257
                 for (j = 0; j < objFormGenerator.sections[i].questions.length; j++) {
1257
                 for (j = 0; j < objFormGenerator.sections[i].questions.length; j++) {
1258
                     if (slug_question == objFormGenerator.sections[i].questions[j].slug_question) {
1258
                     if (slug_question == objFormGenerator.sections[i].questions[j].slug_question) {