From 67f88398a61e65a927eb5d17056c0405db818cdd Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 22 May 2012 12:32:43 -0700 Subject: [PATCH] Use IE-compatible method for changing browser title --- ui/scripts/cloudStack.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/cloudStack.js b/ui/scripts/cloudStack.js index 336a2aa09b7..1ea0b169212 100644 --- a/ui/scripts/cloudStack.js +++ b/ui/scripts/cloudStack.js @@ -382,11 +382,11 @@ url: 'eula.' + g_lang + '.html', dataType: 'html', success: function(html) { - $('title').html('CloudPlatform'); + document.title = 'CloudPlatform'; cloudStack.uiCustom.login($.extend(loginArgs, { eula: html, hasLogo: true })); }, error: function() { - $('title').html('CloudStack'); + document.title = 'CloudStack'; cloudStack.uiCustom.login(loginArgs); }, beforeSend : function(XMLHttpResponse) {