mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
#1702 - When in translation mode on meta-data tab, refreshing CMS removes site tree
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44676 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
852a379417
commit
2149c1569f
@ -18,6 +18,11 @@ abstract class LeftAndMain extends Controller {
|
||||
i18n::set_locale($member->Locale);
|
||||
}
|
||||
|
||||
// set reading lang
|
||||
if(Translatable::is_enabled()) {
|
||||
Translatable::choose_site_lang(i18n::get_existing_content_languages('SiteTree'));
|
||||
}
|
||||
|
||||
parent::init();
|
||||
|
||||
// Allow customisation of the access check by a decorator
|
||||
|
Loading…
Reference in New Issue
Block a user