Changeset 173ef2d in observatorio


Ignore:
Timestamp:
Jul 22, 2014, 4:25:46 PM (10 years ago)
Author:
Ing. Roldan Vargas <rvargas@…>
Branches:
master
Children:
ee47845
Parents:
dfdc525
Message:

sustitución, en el atributo onchange de los campos de entidad y municipio, de la función dajax que actualizaba los combos por la nueva función AJAX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • procesos/apps/sigesic/busqueda/forms.py

    rdd2e95b r173ef2d  
    393393
    394394        if codE is not None or codM is not None:
    395             self.fields['municipio'].widget = forms.Select(
    396                 attrs={'class': 'field text', 'onchange': 'Dajax.busqueda_updatecomboP({"option":this.value})'})
     395            self.fields['municipio'].widget = forms.Select(attrs={'class': 'field text',
     396                                                                  'onchange': self.onchange_municipio})
    397397            self.fields['municipio'].choices = cargar_municipios(codE)
    398398            if codM:
Note: See TracChangeset for help on using the changeset viewer.