From bd396e93d871c58c1caca38b8cc7a4cc5b12c21b Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Fri, 19 Oct 2012 09:57:13 -0400 Subject: [PATCH] fixed url of cards to not be 'localhost:3000' --- app/assets/javascripts/Jit/ForceDirected/metamap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/Jit/ForceDirected/metamap.js b/app/assets/javascripts/Jit/ForceDirected/metamap.js index 712d86ca..7f4043ce 100644 --- a/app/assets/javascripts/Jit/ForceDirected/metamap.js +++ b/app/assets/javascripts/Jit/ForceDirected/metamap.js @@ -170,7 +170,7 @@ function init(){ }); // Build the right column relations list. // This is done by traversing the clicked node connections. - var html = '

' + node.getData("itemcatname") + '

' + node.getData(' + node.name + '

' + node.getData('desc') + '

' + node.getData('link') + '
'; + var html = '

' + node.getData("itemcatname") + '

' + node.getData(' + node.name + '

' + node.getData('desc') + '

' + node.getData('link') + '
'; //append connections information $jit.id('showcard').innerHTML = html; } @@ -244,7 +244,7 @@ function init(){ }); // Build the right column relations list. // This is done by traversing the clicked node connections. - var html = '

' + node.getData("itemcatname") + '

' + node.getData(' + node.name + '

' + node.getData('desc') + '

' + node.getData('link') + '
'; + var html = '

' + node.getData("itemcatname") + '

' + node.getData(' + node.name + '

' + node.getData('desc') + '

' + node.getData('link') + '
'; //append connections information $jit.id('showcard').innerHTML = html; };