NIHVIVO-3080: put js variables into double quotes so the script won't choke on names containing an apostrophe

This commit is contained in:
tworrall 2011-08-01 14:11:32 +00:00
parent 0912b8cf41
commit 266d3d007d
2 changed files with 2 additions and 2 deletions

View file

@ -110,7 +110,7 @@ var subOrganizationPublicationTemporalGraphCommonURL = "${subOrganizationPublica
var jsonString = '${jsonContent!}';
var vivoDefaultNamespace = '${vivoDefaultNamespace!}';
var organizationLabel = '${organizationLabel}';
var organizationLabel = "${organizationLabel}";
var organizationVIVOProfileURL = "${organizationVivoProfileURL}";
var loadingImageLink = contextPath + "/images/visualization/ajax-loader-indicator.gif";

View file

@ -45,7 +45,7 @@ var mapOfScienceImageFolderPrefix = imageFolderPrefix
+ "mapofscience/";
var disciplineLabelImageUrlPrefix = mapOfScienceImageFolderPrefix + "labels/";
var entityLabel = '${entityLabel}';
var entityLabel = "${entityLabel}";
var ENTITY_TYPE = '${entityType}';