many many things...

This commit is contained in:
David Gauthier
2017-11-04 13:34:05 +01:00
parent f540b26e4e
commit 874a27a8c9
18 changed files with 1574 additions and 23 deletions
Vendored Executable → Regular
View File
Vendored Executable → Regular
View File
+12 -4
View File
@@ -1,18 +1,26 @@
$(document).ready(function(){
$('#search').on('submit', function(e) {
$('#loading').hide()
$('#search').submit(function(e) {
e.preventDefault();
args = $(this).serialize();
$('#graph').empty();
$('#results').empty();
$('#loading').show()
$.get('/search?'+args, function(data) {
$('#loading').hide()
console.log(data);
$('#graph').empty();
$('#results').empty();
// $('#graph').empty();
// $('#results').empty();
$.each(data.result, function(i, item) {
search_result_archive(item);
});
graph(data);
graph(data);
});
});
});
function search_result_archive(a) {