From 78e1d552a7e581e482924c755396ec440e0588e2 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Sun, 27 Feb 2011 07:54:42 +0000 Subject: Fix HTTP port formatting bug. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1075000 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/edit/htdocs/graph/graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sca-cpp/trunk') diff --git a/sca-cpp/trunk/modules/edit/htdocs/graph/graph.js b/sca-cpp/trunk/modules/edit/htdocs/graph/graph.js index fdf7dde3a1..a6a7a7d9ea 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/graph/graph.js +++ b/sca-cpp/trunk/modules/edit/htdocs/graph/graph.js @@ -1841,7 +1841,7 @@ graph.compvaluelink = function(appname, cname) { var protocol = window.location.protocol; var host = window.location.hostname; var port = ':' + window.location.port; - if (port == ':80' || port == ':443') + if (port == ':80' || port == ':443' || port == ':') port = ''; var link = protocol + '//' + appname + '.' + host + port + '/components/' + cname; return '' + link + ''; -- cgit v1.2.3