NIHVIVO-650 Display label, moniker, and sparkline visualization on Freemarker version of individual profile page

This commit is contained in:
rjy7 2010-09-09 21:56:39 +00:00
parent 87bc8d696e
commit f776d5de09
3 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,22 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* Javascript for sparkline visualization on person profile page */
var visualization = {
render: function(visualizationData) {
var container = $('#' + visualizationData.container);
//$(container).empty().html('<img src="${loadingImageLink}" />');
$.ajax({
url: visualizationData.url,
dataType: "html",
success:function(data){
$(container).html(data);
}
});
}
};
$(document).ready(function() {
visualization.render(visualizationData);
});