fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding library own page
[wolnelektury.git]
/
apps
/
wolnelektury_core
/
static
/
js
/
widget.js
diff --git
a/apps/wolnelektury_core/static/js/widget.js
b/apps/wolnelektury_core/static/js/widget.js
index
0947629
..
abadfd9
100644
(file)
--- a/
apps/wolnelektury_core/static/js/widget.js
+++ b/
apps/wolnelektury_core/static/js/widget.js
@@
-71,7
+71,8
@@
scriptSearch.onload = function() {
error: function() { cb([]); }
});
},
error: function() { cb([]); }
});
},
- dataType: "jsonp"});
+ dataType: "jsonp",
+ host: "http://"+host});
}
scriptSearch.onreadystatechange = function() { if (scriptSearch.readyState == 'complete') { scriptSearch.onload(); } };
}
scriptSearch.onreadystatechange = function() { if (scriptSearch.readyState == 'complete') { scriptSearch.onload(); } };