From ecc34866470c65ca903617bbf38b92b020caf933 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Fri, 18 May 2012 09:25:54 -0700 Subject: [PATCH] If using commercial build, show 'CloudPlatform' in browser title bar --- ui/index.jsp | 2 +- ui/scripts/cloudStack.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/index.jsp b/ui/index.jsp index b5fa338ea6d..97e8e2312fd 100644 --- a/ui/index.jsp +++ b/ui/index.jsp @@ -11,7 +11,7 @@ - CloudStack + diff --git a/ui/scripts/cloudStack.js b/ui/scripts/cloudStack.js index 1b6637dfd0b..336a2aa09b7 100644 --- a/ui/scripts/cloudStack.js +++ b/ui/scripts/cloudStack.js @@ -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) {