mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 14088:
Fix Citrix log / EULA not rendering due to missing language cookie; specify default language variable, set to English, if no 'lang' cookie is present. status 14088: resolved fixed
This commit is contained in:
parent
6eec3d3377
commit
46ad531a1e
@ -37,6 +37,9 @@
|
||||
});
|
||||
|
||||
$(function() {
|
||||
// Get language
|
||||
g_lang = $.cookie('lang') ? $.cookie('lang') : 'en';
|
||||
|
||||
/**
|
||||
* Generic error handling
|
||||
*/
|
||||
@ -362,7 +365,7 @@
|
||||
|
||||
// EULA check
|
||||
$.ajax({
|
||||
url: 'eula.' + $.cookie('lang') + '.html',
|
||||
url: 'eula.' + g_lang + '.html',
|
||||
dataType: 'html',
|
||||
success: function(html) {
|
||||
cloudStack.uiCustom.login($.extend(loginArgs, { eula: html, hasLogo: true }));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user