X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c0c6e53972b8883ea3cfaab89ad45ba4a0c48098..01e221c6dc122a8a930fd7b83bf123ae02a2ef0d:/wolnelektury/static/js/widgetInit.js?ds=sidebyside diff --git a/wolnelektury/static/js/widgetInit.js b/wolnelektury/static/js/widgetInit.js index 074dbebc1..ab57a3062 100644 --- a/wolnelektury/static/js/widgetInit.js +++ b/wolnelektury/static/js/widgetInit.js @@ -1,5 +1,5 @@ $(function() { - $("#id_q").autocomplete({ + $("#id_qq").autocomplete({ source: function(request, response) { $.ajax({ url: "http://www.wolnelektury.pl/katalog/jtags/", @@ -17,12 +17,12 @@ value: item } })) - }, + } }) }, minLength: 2, select: function(event, ui) { - $("#id_q").val(ui.item.value); + $("#id_qq").val(ui.item.value); $("#wl-form").submit(); } });