Changes in static/js/funciones.js [2f56f4e:3996539] in firmaeventos


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • static/js/funciones.js

    r2f56f4e r3996539  
    1 function refresh_captcha(element) {
    2     $form = $(element).parents('form');
    3     var url = location.protocol + "//" + window.location.hostname + ":" + location.port + "/captcha/refresh/";
    4 
    5     $.getJSON(url, {}, function(json) {
    6         $form.find('input[name="captcha_0"]').val(json.key);
    7         $form.find('img.captcha').attr('src', json.image_url);
    8     });
    9 
    10     return false;
    11 }
Note: See TracChangeset for help on using the changeset viewer.