diff options
Diffstat (limited to 'sca-cpp')
-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>'; |