cluster_search_ui/commit
Showing annotations based on uri of object.
author | Chris Dijkshoorn |
---|---|
Sat Dec 20 21:40:08 2014 +0100 | |
committer | Chris Dijkshoorn |
Sat Dec 20 21:40:08 2014 +0100 | |
commit | c03395b54db1bb23465737cc09b61c271f3646a3 |
tree | aef44ba99e733e4327f83c4f72d82c4a8f819492 |
parent | 3ad1aea78dfe57458414e367d0a5b27104ae2dd6 |
Diff style: patch stat
diff --git a/web/js/result.js b/web/js/result.js index 1c32536..c69ff82 100644 --- a/web/js/result.js +++ b/web/js/result.js @@ -7,8 +7,7 @@ displayOptions = { function showResult(uri) { metadata(uri); - var tempUri = 'http://purl.org/collections/nl/rma/collection/r-97182'; - annotations(tempUri); + annotations(uri); } function metadata(uri) { @@ -48,7 +47,7 @@ function annotations(uri) { ask: 'object_annotations(' + Pengine.stringify(uri, {string:'atom'}) + ', Annotations),!', onsuccess: function () { console.log('The annotations', annotations); - //if(this.data[0].Annotations.annotations > 0) + if(this.data[0].Annotations.annotations > 0) $("#metadata").append(annotationWell(this.data)); } });