If using commercial build, show 'CloudPlatform' in browser title bar

This commit is contained in:
Brian Federle 2012-05-18 09:25:54 -07:00
parent 6106e2cbc1
commit ecc3486647
2 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CloudStack</title>
<title></title>
<link type="text/css" rel="stylesheet" href="lib/reset.css"/>
<link type="text/css" rel="stylesheet" href="css/cloudstack3.css" />
<c:if test="${!empty cookie.lang && cookie.lang.value != 'en'}">

View File

@ -382,9 +382,11 @@
url: 'eula.' + g_lang + '.html',
dataType: 'html',
success: function(html) {
$('title').html('CloudPlatform');
cloudStack.uiCustom.login($.extend(loginArgs, { eula: html, hasLogo: true }));
},
error: function() {
$('title').html('CloudStack');
cloudStack.uiCustom.login(loginArgs);
},
beforeSend : function(XMLHttpResponse) {