1. Made changes so that visualizations url prefix is less vague (refer NIHVIVO-967)
This commit is contained in:
parent
636ab2bf65
commit
d7e39e2953
14 changed files with 75 additions and 68 deletions
|
@ -14,7 +14,7 @@ function getWellFormedURLs(given_uri, type) {
|
|||
if (type == "coauthorship") {
|
||||
|
||||
finalURL = $.ajax({
|
||||
url: contextPath + "/admin/visQuery",
|
||||
url: contextPath + "/visualization",
|
||||
data: ({vis: "utilities", vis_mode: "PERSON_LEVEL_URL", uri: given_uri}),
|
||||
dataType: "text",
|
||||
async: false,
|
||||
|
@ -28,7 +28,7 @@ function getWellFormedURLs(given_uri, type) {
|
|||
} else if (type == "profile") {
|
||||
|
||||
finalURL = $.ajax({
|
||||
url: contextPath + "/admin/visQuery",
|
||||
url: contextPath + "/visualization",
|
||||
data: ({vis: "utilities", vis_mode: "PROFILE_URL", uri: given_uri}),
|
||||
dataType: "text",
|
||||
async: false,
|
||||
|
@ -41,7 +41,7 @@ function getWellFormedURLs(given_uri, type) {
|
|||
} else if (type == "image") {
|
||||
|
||||
finalURL = $.ajax({
|
||||
url: contextPath + "/admin/visQuery",
|
||||
url: contextPath + "/visualization",
|
||||
data: ({vis: "utilities", vis_mode: "IMAGE_URL", uri: given_uri}),
|
||||
dataType: "text",
|
||||
async: false,
|
||||
|
@ -54,7 +54,7 @@ function getWellFormedURLs(given_uri, type) {
|
|||
} else if (type == "profile_info") {
|
||||
|
||||
var profileInfoJSON = $.ajax({
|
||||
url: contextPath + "/admin/visQuery",
|
||||
url: contextPath + "/visualization",
|
||||
data: ({vis: "utilities", vis_mode: "PROFILE_INFO", uri: given_uri}),
|
||||
dataType: "json",
|
||||
async: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue