Widget improvements.
[wolnelektury.git] / wolnelektury / static / js / widgetInit.js
index 074dbeb..44857f8 100644 (file)
@@ -1,8 +1,8 @@
        $(function() {          
        $(function() {          
-               $("#id_q").autocomplete({
+               $("#id_qq").autocomplete({
                        source: function(request, response) {
                                $.ajax({
                        source: function(request, response) {
                                $.ajax({
-                                       url: "http://www.wolnelektury.pl/katalog/jtags/",
+                                       url: "http://lektury.staging.nowoczesnapolska.org.pl/katalog/jtags/",
                                        dataType: "jsonp",
                                        data: {
                                                featureClass: "P",
                                        dataType: "jsonp",
                                        data: {
                                                featureClass: "P",