Cleanup ajax request
This commit is contained in:
parent
ae6c6f8d16
commit
7a270e8e47
@ -210,7 +210,7 @@ function onQuery() {
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$.getJSON('http://localhost/node/hscd/keywords', { }, function(data) {
|
||||
$.getJSON('/node/hscd/keywords', function(data) {
|
||||
for (var keyword in data) {
|
||||
$('#query').append($('<option></option>', {
|
||||
'value': keyword,
|
||||
|
Loading…
Reference in New Issue
Block a user