1. Fixed the bug (see NIHVIVO-1794) where wrong language was getting displayed in the sidebar for person level visualizations.
This commit is contained in:
parent
afec9c1b82
commit
81f089389d
4 changed files with 4 additions and 2 deletions
|
@ -40,7 +40,7 @@ function renderStatsOnNodeClicked(json){
|
||||||
*/
|
*/
|
||||||
if(obj.url){
|
if(obj.url){
|
||||||
|
|
||||||
if (obj.url == egoURI) {
|
if (obj.url === unEncodedEgoURI) {
|
||||||
|
|
||||||
$("#investigatorName").addClass('investigator_name').removeClass('neutral_investigator_name');
|
$("#investigatorName").addClass('investigator_name').removeClass('neutral_investigator_name');
|
||||||
$('#num_works > .investigator_stats_text').text(works);
|
$('#num_works > .investigator_stats_text').text(works);
|
||||||
|
|
|
@ -38,7 +38,7 @@ function renderStatsOnNodeClicked(json){
|
||||||
*/
|
*/
|
||||||
if(obj.url){
|
if(obj.url){
|
||||||
|
|
||||||
if (obj.url == egoURI) {
|
if (obj.url === unEncodedEgoURI) {
|
||||||
|
|
||||||
$("#authorName").addClass('author_name').removeClass('neutral_author_name');
|
$("#authorName").addClass('author_name').removeClass('neutral_author_name');
|
||||||
$('#num_works > .author_stats_text').text(works);
|
$('#num_works > .author_stats_text').text(works);
|
||||||
|
|
|
@ -40,6 +40,7 @@ var requiredRevision = 0;
|
||||||
|
|
||||||
var swfLink = "${swfLink}";
|
var swfLink = "${swfLink}";
|
||||||
var egoURI = "${egoURI}";
|
var egoURI = "${egoURI}";
|
||||||
|
var unEncodedEgoURI = "${egoURIParam}";
|
||||||
var egoCoAuthorshipDataFeederURL = "${egoCoAuthorshipDataFeederURL}";
|
var egoCoAuthorshipDataFeederURL = "${egoCoAuthorshipDataFeederURL}";
|
||||||
var egoCoAuthorsListDataFileURL = "${egoCoAuthorsListDataFileURL}";
|
var egoCoAuthorsListDataFileURL = "${egoCoAuthorsListDataFileURL}";
|
||||||
var contextPath = "${urls.base}";
|
var contextPath = "${urls.base}";
|
||||||
|
|
|
@ -38,6 +38,7 @@ var requiredRevision = 0;
|
||||||
|
|
||||||
var swfLink = "${swfLink}";
|
var swfLink = "${swfLink}";
|
||||||
var egoURI = "${egoURI}";
|
var egoURI = "${egoURI}";
|
||||||
|
var unEncodedEgoURI = "${egoURIParam}";
|
||||||
var egoCoInvestigationDataFeederURL = "${egoCoInvestigationDataFeederURL}";
|
var egoCoInvestigationDataFeederURL = "${egoCoInvestigationDataFeederURL}";
|
||||||
var egoCoInvestigatorsListDataFileURL = "${egoCoInvestigatorsListDataFileURL}";
|
var egoCoInvestigatorsListDataFileURL = "${egoCoInvestigatorsListDataFileURL}";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue