Ticket #670: public domain countdown problems under IE7, fixed.
[wolnelektury.git] / wolnelektury / static / js / widgetInit.js
index 074dbeb..ab57a30 100644 (file)
@@ -1,5 +1,5 @@
        $(function() {          
        $(function() {          
-               $("#id_q").autocomplete({
+               $("#id_qq").autocomplete({
                        source: function(request, response) {
                                $.ajax({
                                        url: "http://www.wolnelektury.pl/katalog/jtags/",
                        source: function(request, response) {
                                $.ajax({
                                        url: "http://www.wolnelektury.pl/katalog/jtags/",
                                                                value: item
                                                        }
                                                }))
                                                                value: item
                                                        }
                                                }))
-                                       },                                      
+                                       }                                       
                                })
                        },
                        minLength: 2,
             select: function(event, ui) {
                                })
                        },
                        minLength: 2,
             select: function(event, ui) {
-                $("#id_q").val(ui.item.value);
+                $("#id_qq").val(ui.item.value);
                 $("#wl-form").submit();
             }                  
                });
                 $("#wl-form").submit();
             }                  
                });