This commit is contained in:
ivan deng
2019-09-14 21:46:33 +08:00
parent 1cf62a7af8
commit 466b6bb6aa
2 changed files with 4 additions and 2 deletions

View File

@@ -42,7 +42,9 @@ odoo.define('app_odoo_customize.UserMenu', function (require) {
+ '"><img class="flag" src="app_odoo_customize/static/src/img/flags/' + lang['code'] + '.png"/>' + lang['name'] + a + '</a>';
});
lang_list += '<div role="separator" class="dropdown-divider"/>';
$('switch-lang').replaceWith(lang_list);
setTimeout( function() {
$('switch-lang').replaceWith(lang_list);
}, 1000);
})
//取参数