fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IE7 fix for autocomplete in widget.
[wolnelektury.git]
/
wolnelektury
/
static
/
js
/
widgetInit.js
diff --git
a/wolnelektury/static/js/widgetInit.js
b/wolnelektury/static/js/widgetInit.js
index
074dbeb
..
0a6e405
100644
(file)
--- a/
wolnelektury/static/js/widgetInit.js
+++ b/
wolnelektury/static/js/widgetInit.js
@@
-1,8
+1,8
@@
$(function() {
$(function() {
- $("#id_q").autocomplete({
+ $("#id_q
q
").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",
@@
-17,12
+17,12
@@
value: item
}
}))
value: item
}
}))
- }
,
+ }
})
},
minLength: 2,
select: function(event, ui) {
})
},
minLength: 2,
select: function(event, ui) {
- $("#id_q").val(ui.item.value);
+ $("#id_q
q
").val(ui.item.value);
$("#wl-form").submit();
}
});
$("#wl-form").submit();
}
});