diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-27 07:54:42 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-27 07:54:42 +0000 |
commit | 78e1d552a7e581e482924c755396ec440e0588e2 (patch) | |
tree | 6f7f91108bd25ddfd0fe8a48f510797ec6911cc9 /sca-cpp/trunk | |
parent | c9df0701735739979fc674bb8f08f76c591cf8e0 (diff) |
Fix HTTP port formatting bug.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1075000 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk')
-rw-r--r-- | sca-cpp/trunk/modules/edit/htdocs/graph/graph.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 '<a href="' + link + '">' + link + '</a>'; |