|
|
|
|
@ -56,7 +56,7 @@ function addContents(node, json) {
|
|
|
|
|
|
|
|
|
|
// NOTE: display an 'info card' for a path that has already been stored
|
|
|
|
|
function openInfoCard(dataset, element) { |
|
|
|
|
query_str = PATH_PATH + '?rel_path=' + dataset.rel_path; |
|
|
|
|
query_str = PATH_PATH + '?rel_path=' + encodeURIComponent(dataset.rel_path); |
|
|
|
|
fetchJSON(query_str, function(json) { |
|
|
|
|
if (json.errors) { |
|
|
|
|
for (let e of json.errors) |
|
|
|
|
|