Conjunto de cambios 4a10874 en consulta_publica para static


Ignorar:
Fecha y hora:
15/05/2017 05:12:45 (hace 7 años)
Autor:
aosorio <aosorio@…>
Branches:
master, base, constituyente, estudiantes, general, plan_patria, sala
Children:
218d0ba
Parents:
a805aa6 (diferencia), a459423 (diferencia)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Mensaje:

Merge branch 'master' of https://planificacion.cenditel.gob.ve/scm/git/consulta_publica

Ubicación:
static
Ficheros:
2 editados

Leyenda

No modificado
Añadido
Eliminado
  • static/css/style.css

    r0ff122b r3ba7a9f  
    191191    width: 250px;
    192192}
     193
     194/*
     195.row {
     196    border: ridge 1px red;
     197}
     198
     199.col-xs-8 {
     200    border: ridge 1px green;
     201}
     202
     203.col-xs-4 {
     204    border: ridge 1px blue;
     205}
     206
     207.col-xs-12 {
     208    border: ridge 1px yellow;
     209}
     210
     211.col-md-4 {
     212    border: ridge 1px blue;
     213}
     214*/
     215
     216#id_captcha_1 {
     217    color: gray;
     218}
     219
     220.separator_link {
     221    color: gray;
     222}
  • static/js/funciones.js

    r65c38e4 r4a10874  
    587587                        var text_area = $(value).parent().parent().find('textarea');
    588588                        not_empty = $(text_area).val().trim() !== '' ? 1:0;
     589                        not_empty = $(text_area).val().length >= 500 && $(text_area).val().length <= 2000  ? 1:0;
     590                        if ($(text_area).val().length < 500 || $(text_area).val().length >2000) {
     591                            bootbox.alert("La longitud de la respuesta debe estar entre 500 y 2000 cáracteres");
     592                        }
    589593                    }
    590594                }               
     
    596600        if (name.search('abierta')!==-1) {
    597601            not_empty = $(value).val().trim() !== '' ? 1:not_empty;
     602            not_empty = $(value).val().length >= 500 && $(value).val().length <= 2000  ? 1:0;
     603            if ($(value).val().length < 500 || $(value).val().length >2000) {
     604                bootbox.alert("La longitud de la respuesta debe estar entre 500 y 2000 cáracteres");
     605            }
    598606        }
    599607    });
Nota: Vea TracChangeset para ayuda en el uso del visor de conjuntos de cambios.