From c872fd9dd70bb1d01b760a514c362a345c7aceb4 Mon Sep 17 00:00:00 2001 From: Christan Grant Date: Thu, 30 Aug 2012 02:33:34 -0400 Subject: [PATCH] added fixes for Issue #2 --- web/index.php | 6 ++++-- web/papergraph.js | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/web/index.php b/web/index.php index 6866931..8b68480 100755 --- a/web/index.php +++ b/web/index.php @@ -208,7 +208,8 @@ function showPaper(tid) { $.ajax({ type: 'GET', - url: 'http://neo.cise.ufl.edu/grisham/paper/web/query.php', + url: '/grisham/paper/web/query.php', + //url: 'http://neo.cise.ufl.edu/grisham/paper/web/query.php', dataType: 'json', data: {q: tid, type: 'rank', @@ -244,7 +245,8 @@ function kwQuery(offsetval, limitval) { toggleLoading(true); $.ajax({ type: "GET", - url: "http://neo.cise.ufl.edu/grisham/paper/web/query.php", + url: '/grisham/paper/web/query.php', + //url: 'http://neo.cise.ufl.edu/grisham/paper/web/query.php', dataType: "json", data: {q: escape($("#kwrd").val()), type: "keyword_realtime", diff --git a/web/papergraph.js b/web/papergraph.js index 3d5324f..239efc3 100644 --- a/web/papergraph.js +++ b/web/papergraph.js @@ -182,7 +182,8 @@ function updatePaperGraph(paperid) { toggleLoading(true); $.ajax({ type: 'GET', - url: 'http://neo.cise.ufl.edu/grisham/paper/web/query.php', + url: '/grisham/paper/web/query.php', + //url: 'http://neo.cise.ufl.edu/grisham/paper/web/query.php', dataType: 'json', data: {q: paperid, type: 'citations',