Use IE-compatible method for changing browser title

This commit is contained in:
Brian Federle 2012-05-22 12:32:43 -07:00
parent 6401205d5d
commit f854455df7
1 changed files with 2 additions and 2 deletions

View File

@ -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) {