view static/js/sat_website.js @ 129:dc3484c165f7

add XEPs that are listed in the "protocols" field of PLUGIN_INFO but not in "import_name"
author souliane <souliane@mailoo.org>
date Wed, 02 Dec 2015 00:19:09 +0100
parents d54f2f09a73a
children
line wrap: on
line source

$(document).ready(function() {

    // language selector
    $('#language_select').change(function() {
        $('#language_form').submit();
    });
    
    // registration form
    $('#id_subscription_amount').change(function() {
        if ($(this).val() > 0) {
            $('#id_payment_method_group').show();
        } else {
            $('#id_payment_method_group').hide();
        }
    });

});