diff --git a/amadeus/static/js/main.js b/amadeus/static/js/main.js index 9151f83..f289ad8 100755 --- a/amadeus/static/js/main.js +++ b/amadeus/static/js/main.js @@ -25,4 +25,13 @@ $(function () { $($(this).data('parent')).find('.panel-collapse.in').collapse('hide'); $($(this).attr('href')).collapse('show'); }); -}); \ No newline at end of file +}); + +var change_language = { + post: function(url, language){ + $.post(url, language ,function(data){ + console.log(data); + }); + } +} + diff --git a/amadeus/templates/base.html b/amadeus/templates/base.html index 0f928fc..bed1bb0 100644 --- a/amadeus/templates/base.html +++ b/amadeus/templates/base.html @@ -106,13 +106,13 @@