diff --git a/booking/templates/booking/duck_list.html b/booking/templates/booking/duck_list.html index 1cd16a5..5d280d3 100644 --- a/booking/templates/booking/duck_list.html +++ b/booking/templates/booking/duck_list.html @@ -21,46 +21,3 @@
{% endif %} {% endblock %} - -{% block endscript %} -$('.complist-button').click(function() { - duck_id = $(this).attr('id').replace(/^duck-complist-/, ''); - - if (isNaN(duck_id) || (duck_id.trim() == '')) { - return; - } - - var url = Urls['api:complist'](duck_id); - var dialog = $('
').appendTo('body'); - - $.getJSON(url, function(data) { - var items = []; - - $.each(data, function(key, item) { - items.push('
  • ' + item.name + ' (' + item.level + ')
  • '); - }); - - $('