- Fecha y hora:
- 08/05/2017 14:01:47 (hace 7 años)
- Branches:
- master, carga
- Children:
- 8476e4f
- Parents:
- c2144d3f
- Fichero:
-
- 1 editado
Leyenda
- No modificado
- Añadido
- Eliminado
-
static/js/functions.js
re50220a rfbb7cb5 39 39 */ 40 40 function show_hide(element_id) { 41 $('.smal-box').each(function() { 42 if (!$(this).is("#" + element_id)) { 43 $(this).hide(); 44 } 45 }); 41 46 var element = $("#" + element_id); 47 48 //element.hide() ? element.is(":visible") : element.show(); 49 50 42 51 if (element.is(":visible")) { 43 52 element.hide(); … … 96 105 * @param condicion Booleano que indica si el campo se debe deshabilitar o no 97 106 */ 98 function disable(element_id,condicion=true) { 107 function disable(element_id,condicion) { 108 condicion = (typeof condicion != "undefined"); 99 109 var element = $("#" + element_id); 100 110 if (condicion) {
Nota: Vea TracChangeset
para ayuda en el uso del visor de conjuntos de cambios.