X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0ee9de179914aa395f4b7475b7b9b6229c42b760..42dee4014c452c1f9f6b29891bca9800e5ad3528:/wolnelektury/static/js/widgetInit.js?ds=sidebyside diff --git a/wolnelektury/static/js/widgetInit.js b/wolnelektury/static/js/widgetInit.js index 44857f8f6..ab57a3062 100644 --- a/wolnelektury/static/js/widgetInit.js +++ b/wolnelektury/static/js/widgetInit.js @@ -2,7 +2,7 @@ $("#id_qq").autocomplete({ source: function(request, response) { $.ajax({ - url: "http://lektury.staging.nowoczesnapolska.org.pl/katalog/jtags/", + url: "http://www.wolnelektury.pl/katalog/jtags/", dataType: "jsonp", data: { featureClass: "P", @@ -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(); } });