2018-01-14 21:30:57 +01:00
|
|
|
$("#CurrencyUpdate").change(function () {
|
2018-01-14 19:57:48 +01:00
|
|
|
var currency = $(this).val();
|
|
|
|
$.ajax({
|
|
|
|
url: '/ajax/CurrencyUpdate/',
|
|
|
|
data: {
|
|
|
|
'currency': currency
|
|
|
|
},
|
|
|
|
dataType: 'json',
|
|
|
|
success: function (data) {
|
|
|
|
if (data.is_taken) {
|
|
|
|
alert("es pop auf! --dies kommt von: static/js/app.js--.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|