|
|
|
|
@ -47,6 +47,10 @@ function openQueryDialog(dataset) {
|
|
|
|
|
+ '?query=' + dataset.base_name |
|
|
|
|
+ '&rel_path=' + dataset.rel_path; |
|
|
|
|
fetchJSON(query_str, function(json) { |
|
|
|
|
if (json.errors) { |
|
|
|
|
for (let e of json.errors) |
|
|
|
|
logError(e) |
|
|
|
|
} else { |
|
|
|
|
let tcontainer = document.querySelector('#query_results'); |
|
|
|
|
let tclone = document.importNode(tcontainer.content, true); |
|
|
|
|
let close = tclone.querySelector('#query_close'); |
|
|
|
|
@ -73,6 +77,7 @@ function openQueryDialog(dataset) {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
document.querySelector('body').appendChild(tclone); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|