From 52cd682405f7a052d45d83b66cc75f19316ceffe Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Thu, 10 Nov 2011 02:36:40 +0000 Subject: Enable multiple apps to co-exist under different paths in a single Virtual Host and Internet domain. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1200105 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/edit/htdocs/stats/index.html | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'sca-cpp/trunk/modules/edit/htdocs/stats/index.html') diff --git a/sca-cpp/trunk/modules/edit/htdocs/stats/index.html b/sca-cpp/trunk/modules/edit/htdocs/stats/index.html index f049bea8a5..81f06c95e4 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/stats/index.html +++ b/sca-cpp/trunk/modules/edit/htdocs/stats/index.html @@ -56,22 +56,9 @@ // Get the app name var appname = ui.fragmentParams(location)['app']; -/** - * Return the link to an app. - */ -function applink(appname) { - var protocol = location.protocol; - var host = location.hostname; - var port = ':' + location.port; - if (port == ':80' || port == ':443' || port == ':') - port = ''; - var link = protocol + '//' + appname + '.' + host + port + '/'; - return link; -} - // Set page titles document.title = ui.windowtitle(location.hostname) + ' - Stats - ' + appname; -$('appNameHeader').innerHTML = '' + appname + ''; +$('appNameHeader').innerHTML = '' + appname + ''; var tclone = isNil(config.clone)? 'Clone' : config.clone; $('cloneApp').value = tclone; $('cloneApp').title = tclone + ' this app'; -- cgit v1.2.3