Commit ec211d59 authored by marcheing's avatar marcheing Committed by Diego de Araújo Martinez Camarinha

Change state select into coffee script

parent d10e64e7
state_select = (event) ->
country: $('select#profile_country :selected').text(),
locale: $('#locale').val()
(data) ->
$('select#profile_country').on('change', state_select)
function state_select(event) {
{ country: $('select#profile_country :selected').text(), locale: $('#locale').val() },
function(data) { $('div#state_select').html(data); }
$('select#profile_country').on('change', state_select);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment