You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2011/02/27 08:54:42 UTC

svn commit: r1075000 - /tuscany/sca-cpp/trunk/modules/edit/htdocs/graph/graph.js

Author: jsdelfino
Date: Sun Feb 27 07:54:42 2011
New Revision: 1075000

URL: http://svn.apache.org/viewvc?rev=1075000&view=rev
Log:
Fix HTTP port formatting bug.

Modified:
    tuscany/sca-cpp/trunk/modules/edit/htdocs/graph/graph.js

Modified: tuscany/sca-cpp/trunk/modules/edit/htdocs/graph/graph.js
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/edit/htdocs/graph/graph.js?rev=1075000&r1=1074999&r2=1075000&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/edit/htdocs/graph/graph.js (original)
+++ tuscany/sca-cpp/trunk/modules/edit/htdocs/graph/graph.js Sun Feb 27 07:54:42 2011
@@ -1841,7 +1841,7 @@ graph.compvaluelink = function(appname, 
     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>';