Conjunto 3121b2f en consulta_publica


Ignorar:
Fecha y hora:
31/10/2017 16:00:23 (hace 7 años)
Autor:
rudmanmrrod <rudman22@…>
Branches:
estudiantes, general, plan_patria
Children:
ed3aa4f
Parents:
253e894
Mensaje:

Agregado nuevo rango para las justificaciones (700 y 5000)

Fichero:
1 editado

Leyenda

No modificado
Añadido
Eliminado
  • static/js/funciones.js

    r253e894 r3121b2f  
    589589                        var text_area = $(value).parent().parent().find('textarea');
    590590                        not_empty = $(text_area).val().trim() !== '' ? 1:0;
    591                         not_empty = $(text_area).val().length >= 10 && $(text_area).val().length <= 50  ? 1:0;
    592                         if ($(text_area).val().length < 10 || $(text_area).val().length >50) {
    593                             bootbox.alert("La longitud de la respuesta debe estar entre 10 y 50 cáracteres");
     591                        not_empty = $(text_area).val().length >= 700 && $(text_area).val().length <= 5000  ? 1:0;
     592                        if ($(text_area).val().length < 700 || $(text_area).val().length >5000) {
     593                            bootbox.alert("La longitud de la respuesta debe estar entre 700 y 5000 cáracteres");
    594594                        }
    595595                    }
Nota: Vea TracChangeset para ayuda en el uso del visor de conjuntos de cambios.